PATH:
opt
/
alt
/
php52
/
usr
/
include
/
php
/
ext
/
http
/* +--------------------------------------------------------------------+ | 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-2010, Michael Wallner <mike@php.net> | +--------------------------------------------------------------------+ */ /* $Id: php_http_request_body_api.h 292841 2009-12-31 08:48:57Z mike $ */ #ifndef PHP_HTTP_REQUEST_BODY_API_H #define PHP_HTTP_REQUEST_BODY_API_H #ifdef HTTP_HAVE_CURL #define HTTP_REQUEST_BODY_EMPTY 0 #define HTTP_REQUEST_BODY_CSTRING 1 #define HTTP_REQUEST_BODY_CURLPOST 2 #define HTTP_REQUEST_BODY_UPLOADFILE 3 typedef struct _http_request_body_t { void *data; size_t size; uint type:3; uint free:1; uint priv:28; } http_request_body; #define http_request_body_new() http_request_body_init(NULL) #define http_request_body_init(b) http_request_body_init_ex((b), 0, NULL, 0, 0) #define http_request_body_init_ex(b, t, d, l, f) _http_request_body_init_ex((b), (t), (d), (l), (f) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC TSRMLS_CC) #define http_request_body_init_rel(b, t, d, l, f) _http_request_body_init_ex((b), (t), (d), (l), (f) ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC TSRMLS_CC) PHP_HTTP_API http_request_body *_http_request_body_init_ex(http_request_body *body, int type, void *data, size_t len, zend_bool free ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC TSRMLS_DC); #define http_request_body_fill(b, fields, files) _http_request_body_fill((b), (fields), (files) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC TSRMLS_CC) PHP_HTTP_API http_request_body *_http_request_body_fill(http_request_body *body, HashTable *fields, HashTable *files ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC TSRMLS_DC); #define http_request_body_encode(b, s, l) _http_request_body_encode((b), (s), (l) TSRMLS_CC) PHP_HTTP_API STATUS _http_request_body_encode(http_request_body *body, char **buf, size_t *len TSRMLS_DC); #define http_request_body_dtor(b) _http_request_body_dtor((b) TSRMLS_CC) PHP_HTTP_API void _http_request_body_dtor(http_request_body *body TSRMLS_DC); #define http_request_body_free(b) _http_request_body_free((b) TSRMLS_CC) PHP_HTTP_API void _http_request_body_free(http_request_body **body TSRMLS_DC); #endif #endif /* * 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 */
[-] php_http_util_object.h
[edit]
[-] php_http_api.h
[edit]
[-] php_http_message_api.h
[edit]
[-] php_http_persistent_handle_api.h
[edit]
[-] php_http_request_object.h
[edit]
[-] php_http_send_api.h
[edit]
[-] php_http_request_method_api.h
[edit]
[-] php_http_message_object.h
[edit]
[-] php_http_url_api.h
[edit]
[-] php_http_querystring_object.h
[edit]
[-] php_http_requestdatashare_object.h
[edit]
[-] php_http_headers_api.h
[edit]
[-] php_http_request_body_api.h
[edit]
[-] php_http_cache_api.h
[edit]
[-] php_http_exception_object.h
[edit]
[-] php_http_requestpool_object.h
[edit]
[-] php_http_cookie_api.h
[edit]
[-] php_http_date_api.h
[edit]
[-] php_http_std_defs.h
[edit]
[-] php_http_request_datashare_api.h
[edit]
[-] php_http_info_api.h
[edit]
[-] php_http_response_object.h
[edit]
[+]
phpstr
[-] php_http_encoding_api.h
[edit]
[-] missing.h
[edit]
[-] php_http.h
[edit]
[+]
..
[-] php_http_request_api.h
[edit]
[-] php_http_deflatestream_object.h
[edit]
[-] php_http_inflatestream_object.h
[edit]
[-] php_http_querystring_api.h
[edit]