00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00026 #ifndef MOD_STATUS_H
00027 #define MOD_STATUS_H
00028
00029 #include "ap_config.h"
00030 #include "httpd.h"
00031
00032 #define AP_STATUS_SHORT (0x1)
00033 #define AP_STATUS_NOTABLE (0x2)
00034 #define AP_STATUS_EXTENDED (0x4)
00035
00036 #if !defined(WIN32)
00037 #define STATUS_DECLARE(type) type
00038 #define STATUS_DECLARE_NONSTD(type) type
00039 #define STATUS_DECLARE_DATA
00040 #elif defined(STATUS_DECLARE_STATIC)
00041 #define STATUS_DECLARE(type) type __stdcall
00042 #define STATUS_DECLARE_NONSTD(type) type
00043 #define STATUS_DECLARE_DATA
00044 #elif defined(STATUS_DECLARE_EXPORT)
00045 #define STATUS_DECLARE(type) __declspec(dllexport) type __stdcall
00046 #define STATUS_DECLARE_NONSTD(type) __declspec(dllexport) type
00047 #define STATUS_DECLARE_DATA __declspec(dllexport)
00048 #else
00049 #define STATUS_DECLARE(type) __declspec(dllimport) type __stdcall
00050 #define STATUS_DECLARE_NONSTD(type) __declspec(dllimport) type
00051 #define STATUS_DECLARE_DATA __declspec(dllimport)
00052 #endif
00053
00054
00055
00056
00057
00058
00059
00060
00061 APR_DECLARE_EXTERNAL_HOOK(ap, STATUS, int, status_hook,
00062 (request_rec *r, int flags))
00063 #endif
00064