X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_version.h;fp=php_http_version.h;h=0000000000000000000000000000000000000000;hp=40b833eedef3f69ca2542db5342723291f823d8f;hb=bdd6edb59194cda9e5fcb393c48ab4230fceb32a;hpb=c05ef71b26a8d16bf5af2bd8275e08ba5ae02b52 diff --git a/php_http_version.h b/php_http_version.h deleted file mode 100644 index 40b833e..0000000 --- a/php_http_version.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - +--------------------------------------------------------------------+ - | PECL :: http | - +--------------------------------------------------------------------+ - | Redistribution and use in source and binary forms, with or without | - | modification, are permitted provided that the conditions mentioned | - | in the accompanying LICENSE file are met. | - +--------------------------------------------------------------------+ - | Copyright (c) 2004-2014, Michael Wallner | - +--------------------------------------------------------------------+ -*/ - -#ifndef PHP_HTTP_VERSION_H -#define PHP_HTTP_VERSION_H - -typedef struct php_http_version { - unsigned major; - unsigned minor; -} php_http_version_t; - -PHP_HTTP_API php_http_version_t *php_http_version_init(php_http_version_t *v, unsigned major, unsigned minor TSRMLS_DC); -PHP_HTTP_API php_http_version_t *php_http_version_parse(php_http_version_t *v, const char *str TSRMLS_DC); -PHP_HTTP_API void php_http_version_to_string(php_http_version_t *v, char **str, size_t *len, const char *pre, const char *post TSRMLS_DC); -PHP_HTTP_API void php_http_version_dtor(php_http_version_t *v); -PHP_HTTP_API void php_http_version_free(php_http_version_t **v); - -#endif /* PHP_HTTP_VERSION_H */ - - -/* - * Local variables: - * tab-width: 4 - * c-basic-offset: 4 - * End: - * vim600: noet sw=4 ts=4 fdm=marker - * vim<600: noet sw=4 ts=4 - */ -