/*****************************************************************************/ /* Response.h */ /*****************************************************************************/ #ifndef RESPONSE_H_LOADED #define RESPONSE_H_LOADED 1 #include "wasd.h" /*******************/ /* data structures */ /*******************/ #ifndef __VAX # pragma member_alignment __save # pragma member_alignment #endif typedef struct ResponseCharsetStruct RESPONSE_CHARSET; struct ResponseCharsetStruct { struct ListEntryStruct ListEntry; int NcsCfFactor; unsigned long NcsCf; char *AccCharsetPtr, *DocCharsetPtr, *NcsCfNamePtr; char Storage []; }; #ifndef __VAX # pragma member_alignment __restore #endif /***********************/ /* function prototypes */ /***********************/ ResponseCharsetConfig (META_CONFIG*); int ResponseCharsetConvert (REQUEST_STRUCT*, char**, int*); char* ResponseCharsetConvertBegin (REQUEST_STRUCT*, char*); ResponseHeader (REQUEST_STRUCT*, int, char*, int, unsigned long*, char*); ResponseHeader100Continue (REQUEST_STRUCT*); ResponseHeader200 (REQUEST_STRUCT*, char*, STR_DSC*); ResponseHeaderAppend (REQUEST_STRUCT*, char*, int); ResponseHeaderChallenge (REQUEST_STRUCT*); ResponseHiss (REQUEST_STRUCT*); BOOL ResponseEntityMatch (REQUEST_STRUCT*, char*); ResponseOptions (REQUEST_STRUCT*); ResponseTrace (REQUEST_STRUCT*); int ResponseWebSocketHeader (REQUEST_STRUCT*); ResponseWhere (REQUEST_STRUCT*, char*); #endif /* RESPONSE_H_LOADED */ /*****************************************************************************/