X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=src%2Fphp_http_options.h;h=fd72ebd0eb5da31fa6a1a998d1acc1ecb41852f9;hp=4fff611a3b40aadfeac1c5d210894b369a9ec0dd;hb=82923890d9ce44a0642ac2f5ea0cb343aaf50fe3;hpb=cd2f5afaff5794214ec3a784d48b9afce41764bf diff --git a/src/php_http_options.h b/src/php_http_options.h index 4fff611..fd72ebd 100644 --- a/src/php_http_options.h +++ b/src/php_http_options.h @@ -32,7 +32,7 @@ struct php_http_option { php_http_options_t suboptions; zend_string *name; - ulong option; + unsigned long option; zend_uchar type; unsigned flags; zval defval; @@ -46,7 +46,7 @@ PHP_HTTP_API ZEND_RESULT_CODE php_http_options_apply(php_http_options_t *registr PHP_HTTP_API void php_http_options_dtor(php_http_options_t *registry); PHP_HTTP_API void php_http_options_free(php_http_options_t **registry); -PHP_HTTP_API php_http_option_t *php_http_option_register(php_http_options_t *registry, const char *name_str, size_t name_len, ulong option, zend_uchar type); +PHP_HTTP_API php_http_option_t *php_http_option_register(php_http_options_t *registry, const char *name_str, size_t name_len, unsigned long option, zend_uchar type); PHP_HTTP_API zval *php_http_option_get(php_http_option_t *opt, HashTable *options, void *userdata); #endif /* PHP_HTTP_OPTIONS_H */