/* braindead.h - BRAINDEAD OPERATING SYSTEM DECLARATIONS MAINTENANCE HISTORY DATE PROGRAMMER AND DETAILS 16-05-02 JS Original -----------------------------------------------------------------------------*/ #ifdef __cplusplus extern "C" { #endif /*---------------------------------------------------------------------------*/ /* DEFINITIONS */ #define MAXCHAN 20 /* Maximum channels */ /*---------------------------------------------------------------------------*/ /* FUNCTION DECLARATIONS */ int GetRequest (void); /* Initiate reception of an HTTP request */ void RequestReady (int chanId, const char *fileName); /* Application request ready function */ void PutData (int chanId, const char *data, int len); /* Send data to client */ void PutDone (int chanId); /* Application put done function */ void RequestDone (int chanId); /* Request completely serviced */ void Yield (void); /* Release control to Braindead */ /*---------------------------------------------------------------------------*/ #ifdef __cplusplus } #endif