NetBurner 3.5.6
PDF Version
init.h File Reference

NetBurner System Initialization Header File. More...

#include <predef.h>
#include <constants.h>
#include <basictypes.h>
#include <ctype.h>
#include <stdio.h>

Go to the source code of this file.

Classes

struct  listen_list_item
 Structure to use to create custom lists of listentiing ports and interfaces. More...
 

Functions

void init ()
 System initialization. Ideally called at the beginning of all applications, since the easiest Recovery procedures pause execution inside of init, which is impossible if there is a crash before init.
 
void StartHttp (uint16_t port=80)
 Start the HTTP web server.
 
void StartHttps (uint16_t ssl_port=443, uint16_t http_port=80)
 Start the HTTPS secure web server.
 
void SetHttpsPointers ()
 If you are both using the Start Custom below and using https you must call this.
 
void StartHttpCustom (listen_list_item *pList_Of_Listens)
 Start the HTTP web server witha custom list of listen ports.
 
bool WaitForActiveNetwork (uint32_t ticks_to_wait=120 *TICKS_PER_SECOND, int interface=-1)
 Wait for an active network connection on at least one interface.
 
void EnableSystemDiagnostics ()
 Turn on the diagnostic reports from the config page.
 
void EnableSecureConfigServer (bool bSec_Only)
 Enable the minimal http config server to operate over TLS.
 

Detailed Description

NetBurner System Initialization Header File.