NetBurner 3.5.0
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.

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.
 
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.