web.h File Reference


Detailed Description

Web interface module defines and global function prototypes for Netzer.

Software License
See the MBCSL for details.
Author:
Sven Schlender (kontakt at mobacon dot de)
Date:
2009-01-23


Defines

#define WEB_STACKSIZE   (256u)
 Working space for HTML processing.

Functions

void WebOptionROM (BOOL Selected, BYTE Value, ROM BYTE *pString)
 Prints a formated HTML option field to the HTTP socket with content string from ROM.
void WebRadioROM (ROM BYTE *pName, DWORD Value, BOOL Selected, BYTE AccessLevel)
 Prints a formated HTML radio field to the HTTP socket with name string from ROM.
void WebCheckboxROM (ROM BYTE *pName, DWORD Value, BOOL Selected, BYTE AccessLevel)
 Prints a formated HTML checkbox to the HTTP socket with name string from ROM.
void WebCheckbox (BYTE *pName, DWORD Value, BOOL Selected, BYTE AccessLevel)
 Prints a formated HTML checkbox to the HTTP socket with name string from RAM.
void WebReportChangedState (StateTableIDs_t StringID, PageID_t DestinationPageID)
 Call this function during a HTTP POST session if the user should be forwarded to a message webpage (state.htm) showing a error or state change string.
BYTE HTTPNeedsAuth (BYTE *cFile)
 This function is called on the starting authentfication process, if any file is requested via HTTP.
BYTE WebGetAuthLevelOfCurrentPage (void)
 Each shown webpage has dedicated level of authorization which is stored in an internal structure with all the other webpage related data.
BYTE WebGetCurrentPageID (void)
 Returns the ID of the last loaded html page.

Variables

BYTE webwork [WEB_STACKSIZE]
 The working space for HTML processing.


Generated on Fri Mar 29 10:34:28 2013 for Netzer by  doxygen 1.5.5