Main Page | Modules | Directories | File List | Globals | Related Pages

webport.h File Reference

Main header file. More...

Go to the source code of this file.

Defines

#define WP_STATUSOUT   "uart0"
 Device name for optional status messages.
#define HTTP_PORT   80
 TCP port number to listen to.
#define LOW_MEM_MARK   4096
 Delay responses if available memory falls below.
#define NUM_HTTP_THREADS   6
 Total number of concurrent HTTP server threads.
#define HTTP_THREAD_STACK   640
 Stack size given to each HTTP server thread.
#define PORT_CONTROL_CGI   "ccports.cgi"
 Name of the CGI to control CPU ports.
#define PORT_STATUS_CGI   "csports.cgi"
 Name of the CGI to display CPU ports.
#define RELAY_CONTROL_CGI   "relay.cgi"
 Name of the CGI to control shift register outputs.
#define OPTO_STATUS_CGI   "opto.cgi"
 Name of the CGI to display shift register inputs.
#define CHARON_CONTROL_CGI   "ch2led.cgi"
 Name of the CGI to control Charon II LEDs.
#define CHARON_STATUS_CGI   "ch2switch.cgi"
 Name of the CGI to display Charon II switch settings.

Functions

__BEGIN_DECLS int CpuPortControl (FILE *sostream, REQUEST *req)
 CGI callback function to control the CPU ports.
int CpuPortStatus (FILE *sostream, REQUEST *req)
 CGI callback function to display the status of the CPU ports.
int SpiRelayControl (FILE *sostream, REQUEST *req)
 CGI callback function to control a shift register output board.
int SpiOptoStatus (FILE *sostream, REQUEST *req)
 CGI callback function to query a shift register input board.
int CharonLedControl (FILE *stream, REQUEST *req)
 CGI callback function to control the Charon II LEDs.
int CharonSwitchStatus (FILE *stream, REQUEST *req)
 CGI callback function to query the Charon II switches.


Detailed Description

Main header file.

Definition in file webport.h.


© 2002-2004 by egnite Software GmbH - visit http://www.ethernut.de/