2 +----------------------------------------------------------------------+
4 +----------------------------------------------------------------------+
5 | This source file is subject to version 3.0 of the PHP license, that |
6 | is bundled with this package in the file LICENSE, and is available |
7 | through the world-wide-web at http://www.php.net/license/3_0.txt. |
8 | If you did not receive a copy of the PHP license and are unable to |
9 | obtain it through the world-wide-web, please send a note to |
10 | license@php.net so we can mail you a copy immediately. |
11 +----------------------------------------------------------------------+
12 | Copyright (c) 2004-2005 Michael Wallner <mike@php.net> |
13 +----------------------------------------------------------------------+
18 #ifndef PHP_HTTP_AUTH_API_H
19 #define PHP_HTTP_AUTH_API_H
21 #include "php_http_std_defs.h"
23 #define http_auth_basic_credentials(u, p) _http_auth_basic_credentials((u), (p) TSRMLS_CC)
24 PHP_HTTP_API STATUS
_http_auth_basic_credentials(char **user
, char **pass TSRMLS_DC
);
26 #define http_auth_basic_header(r) _http_auth_basic_header((r) TSRMLS_CC)
27 PHP_HTTP_API STATUS
_http_auth_basic_header(const char *realm TSRMLS_DC
);
30 #define http_auth_digest_credentials(i) _http_auth_digest_credentials((i) TSRMLS_CC)
31 PHP_HTTP_API STATUS _http_auth_digest_credentials(HashTable *items TSRMLS_DC);
33 #define http_auth_digest_header(r) _http_auth_digest_header((r) TSRMLS_CC)
34 PHP_HTTP_API STATUS _http_auth_digest_header(const char *realm TSRMLS_DC);
44 * vim600: noet sw=4 ts=4 fdm=marker
45 * vim<600: noet sw=4 ts=4