X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_auth_api.h;fp=php_http_auth_api.h;h=7c06980e24ea5f4d8755bccb22ab8b7a3eb597c8;hp=0000000000000000000000000000000000000000;hb=0ac32c9b8590e88a5f110cc8b3154001d5c0c089;hpb=5c295d7204cd8e961b5c44a54e87563df1b058dc diff --git a/php_http_auth_api.h b/php_http_auth_api.h new file mode 100644 index 0000000..7c06980 --- /dev/null +++ b/php_http_auth_api.h @@ -0,0 +1,39 @@ +/* + +----------------------------------------------------------------------+ + | PECL :: http | + +----------------------------------------------------------------------+ + | This source file is subject to version 3.0 of the PHP license, that | + | is bundled with this package in the file LICENSE, and is available | + | through the world-wide-web at http://www.php.net/license/3_0.txt. | + | If you did not receive a copy of the PHP license and are unable to | + | obtain it through the world-wide-web, please send a note to | + | license@php.net so we can mail you a copy immediately. | + +----------------------------------------------------------------------+ + | Copyright (c) 2004-2005 Michael Wallner | + +----------------------------------------------------------------------+ +*/ + +/* $Id$ */ + +#ifndef PHP_HTTP_AUTH_API_H +#define PHP_HTTP_AUTH_API_H + +#include "php_http_std_defs.h" + +#define http_auth_credentials(u, p) _http_auth_credentials((u), (p) TSRMLS_CC) +PHP_HTTP_API STATUS _http_auth_credentials(char **user, char **pass TSRMLS_DC); + +#define http_auth_header(t, r) _http_auth_header((t), (r) TSRMLS_CC) +PHP_HTTP_API STATUS _http_auth_header(const char *type, const char *realm TSRMLS_DC); + +#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 + */ +