/*****************************************************************************/ /* Support.h */ /*****************************************************************************/ #ifndef SUPPORT_H_LOADED #define SUPPORT_H_LOADED 1 /* standard C header files */ #include /* VMS related header files */ #include #include /* application related header files */ #include "wasd.h" /**********/ /* macros */ /**********/ /* the current size determined by the The Apache Group */ #define UNIQUE_ID_SIZE 19 /***********************/ /* function prototypes */ /***********************/ LIST_ENTRY* ListAddHead (LIST_HEAD*, LIST_ENTRY*); LIST_ENTRY* ListAddTail (LIST_HEAD*, LIST_ENTRY*); LIST_ENTRY* ListAddBefore (LIST_HEAD*, LIST_ENTRY*, LIST_ENTRY*); LIST_ENTRY* ListRemove (LIST_HEAD*, LIST_ENTRY*); ListDebug (LIST_HEAD*); int BytesPerSecond (unsigned long*, unsigned long*, unsigned long*); char* ClientHostString (REQUEST_STRUCT*); int CompareVmsBinTimes (unsigned long*, unsigned long*); int ConvertFromUtf8 (char*, int, char); int ConvertToUtf8 (char*, int, int); int CopyTextIntoHtml (char*, char*, int); char* DayOfWeekName (unsigned long*); char* DateTime (unsigned long*, int); DebugTrace(); char* DigitDayTime (unsigned long*); char* DurationString (REQUEST_STRUCT*, unsigned long*); int FormatProtection (unsigned short, char*); char* GenerateUniqueId (REQUEST_STRUCT*); int GetVmsVersion (); char* HtmlMetaInfo (REQUEST_STRUCT*, char*); char* HttpStatusCodeText (int); char* HttpStatusCodeExplanation (REQUEST_STRUCT*, int); int HttpGmTime (char*, unsigned long*); int HttpGmTimeString (char*, unsigned long*); int HttpIfModifiedSince (REQUEST_STRUCT*, unsigned long*, int); int HttpIfUnModifiedSince (REQUEST_STRUCT*, unsigned long*); int MatchPerf (); int PercentOf (unsigned long, unsigned long); int QuadPercentOf (unsigned long*, unsigned long*); int SetGlobalSymbol (char*, char*); char* ServerSignature (REQUEST_STRUCT*, char*, int); char* SysTrnLnm (char*); int TimeAdjustGMT (BOOL, unsigned long*); int TimeSetGMT (); int TimeVmsToUnix (unsigned long*, struct tm*); char* UserAtClient (REQUEST_STRUCT *rqptr); int VmsToHttpStatus (int); char* v10orPrev10 (char*, int); int strzcpy (char*, char*, int); #endif /* SUPPORT_H_LOADED */ /*****************************************************************************/