projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
removed awkward custom error handling and http\Object base class
[m6w6/ext-http]
/
php_http_api.h
diff --git
a/php_http_api.h
b/php_http_api.h
index ec4a989d25fdb4b59825ac552e4048983f885d1b..42d34fca4bfc611f9c72dc942cfacbc1d070fcdc 100644
(file)
--- a/
php_http_api.h
+++ b/
php_http_api.h
@@
-30,6
+30,8
@@
#include <ext/date/php_date.h>
#include <zend_interfaces.h>
#include <ext/date/php_date.h>
#include <zend_interfaces.h>
+#include <zend_exceptions.h>
+
#ifdef PHP_WIN32
# define PHP_HTTP_API __declspec(dllexport)
#ifdef PHP_WIN32
# define PHP_HTTP_API __declspec(dllexport)
@@
-42,9
+44,6
@@
/* make functions that return SUCCESS|FAILURE more obvious */
typedef int STATUS;
/* make functions that return SUCCESS|FAILURE more obvious */
typedef int STATUS;
-/* inline doc */
-#define _RETURNS(type)
-
#if (defined(HAVE_ICONV) || defined(PHP_HTTP_HAVE_EXT_ICONV)) && (PHP_HTTP_SHARED_DEPS || !defined(COMPILE_DL_ICONV))
# define PHP_HTTP_HAVE_ICONV
#endif
#if (defined(HAVE_ICONV) || defined(PHP_HTTP_HAVE_EXT_ICONV)) && (PHP_HTTP_SHARED_DEPS || !defined(COMPILE_DL_ICONV))
# define PHP_HTTP_HAVE_ICONV
#endif
@@
-95,7
+94,7
@@
typedef int STATUS;
#include "php_http_exception.h"
#include "php_http_filter.h"
#include "php_http_header_parser.h"
#include "php_http_exception.h"
#include "php_http_filter.h"
#include "php_http_header_parser.h"
-#include "php_http_header
s
.h"
+#include "php_http_header.h"
#include "php_http_message_body.h"
#include "php_http_message_parser.h"
#include "php_http_negotiate.h"
#include "php_http_message_body.h"
#include "php_http_message_parser.h"
#include "php_http_negotiate.h"