- more descriptive constant names
[m6w6/ext-http] / php_http_request_method_api.h
index 6958cbd..362b5dc 100644 (file)
@@ -57,6 +57,9 @@ typedef enum {
        HTTP_MAX_REQUEST_METHOD = 28
 } http_request_method;
 
+#define http_request_method_global_init() _http_request_method_global_init(INIT_FUNC_ARGS_PASSTHRU)
+STATUS _http_request_method_global_init(INIT_FUNC_ARGS);
+
 #define HTTP_STD_REQUEST_METHOD(m) ((m > HTTP_NO_REQUEST_METHOD) && (m < HTTP_MAX_REQUEST_METHOD))
 #define HTTP_CUSTOM_REQUEST_METHOD(m) (m - HTTP_MAX_REQUEST_METHOD)