error control for http\Url
[m6w6/ext-http] / src / php_http_url.h
index 636efb584b667785fa9c1f5b4447610a1ab398e8..3838a6b9ee143572efb46c900c6ff0a47db862f6 100644 (file)
@@ -13,7 +13,7 @@
 #ifndef PHP_HTTP_URL_H
 #define PHP_HTTP_URL_H
 
-#include <ext/standard/url.h>
+#include "ext/standard/url.h"
 
 /* php_http_url_mod() */
 #define PHP_HTTP_URL_REPLACE           0x000
 /* percent encode multibyte sequences in userinfo, path, query and fragment */
 #define PHP_HTTP_URL_PARSE_TOPCT       0x200000
 
+/* ignore errors */
+#define PHP_HTTP_URL_IGNORE_ERRORS     0x10000000
+/* do not report errors */
+#define PHP_HTTP_URL_SILENT_ERRORS     0x20000000
+
+#define PHP_HTTP_URL_STDFLAGS          0x00332003
+
 typedef struct php_http_url {
        /* compatible to php_url, but do not use php_url_free() */
        char *scheme;