1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
/* $Id$
*
*/
#ifndef __PJSIP_AUTH_SIP_AUTH_PARSER_H__
#define __PJSIP_AUTH_SIP_AUTH_PARSER_H__
/**
* @file pjsip_auth_parser.h
* @brief SIP Authorization Parser Module.
*/
#include <pj/types.h>
PJ_BEGIN_DECL
/**
* @defgroup PJSIP_AUTH_PARSER_MODULE Authorization Parser Module
* @ingroup PJSIP_AUTH
* @{
*/
/**
* Initialize and register authorization parser module.
* This will register parser handler for various Authorization related headers
* such as Authorization, WWW-Authenticate, Proxy-Authorizization, and
* Proxy-Authenticate headers.
*/
PJ_DECL(void) pjsip_auth_init_parser();
/**
* DeInitialize authorization parser module.
*/
PJ_DECL(void) pjsip_auth_deinit_parser();
extern const pj_str_t pjsip_USERNAME_STR,
pjsip_REALM_STR,
pjsip_NONCE_STR,
pjsip_URI_STR,
pjsip_RESPONSE_STR,
pjsip_ALGORITHM_STR,
pjsip_DOMAIN_STR,
pjsip_STALE_STR,
pjsip_QOP_STR,
pjsip_CNONCE_STR,
pjsip_OPAQUE_STR,
pjsip_NC_STR,
pjsip_TRUE_STR,
pjsip_FALSE_STR,
pjsip_DIGEST_STR,
pjsip_PGP_STR,
pjsip_MD5_STR,
pjsip_AUTH_STR;
/*
extern const pj_str_t pjsip_QUOTED_TRUE_STR,
pjsip_QUOTED_FALSE_STR,
pjsip_QUOTED_DIGEST_STR,
pjsip_QUOTED_PGP_STR,
pjsip_QUOTED_MD5_STR,
pjsip_QUOTED_AUTH_STR;
*/
/**
* @}
*/
PJ_END_DECL
#endif /* __PJSIP_AUTH_SIP_AUTH_PARSER_H__ */
|