#include "../../str.h"


Go to the source code of this file.
Data Structures | |
| struct | algorithm |
| struct | dig_cred |
| struct | qp |
| struct | username |
Defines | |
| #define | GET_REALM(cred) |
Typedefs | |
| typedef enum alg | alg_t |
| typedef struct dig_cred | dig_cred_t |
| typedef enum qop_type | qop_type_t |
Enumerations | |
| enum | alg { ALG_UNSPEC = 0, ALG_MD5 = 1, ALG_MD5SESS = 2, ALG_OTHER = 4 } |
| enum | qop_type { QOP_UNSPEC = 0, QOP_AUTH = 1, QOP_AUTHINT = 2, QOP_OTHER = 4 } |
Functions | |
| void | init_dig_cred (dig_cred_t *_c) |
| int | parse_digest_cred (str *_s, dig_cred_t *_c) |
| #define GET_REALM | ( | cred | ) |
Value:
(((cred)->username.domain.len && (cred)->username.domain.s) ? \ &(cred)->username.domain : \ &(cred)->realm)
Definition at line 102 of file digest_parser.h.
Referenced by check_username(), and get_username_domain().
| typedef struct dig_cred dig_cred_t |
| typedef enum qop_type qop_type_t |
| enum alg |
| enum qop_type |
Definition at line 47 of file digest_parser.h.
| void init_dig_cred | ( | dig_cred_t * | _c | ) |
| int parse_digest_cred | ( | str * | _s, | |
| dig_cred_t * | _c | |||
| ) |
Definition at line 335 of file digest_parser.c.
References DIG_LEN, DIGEST_SCHEME, _str::len, parse_digest_params(), _str::s, and trim_leading().
Referenced by parse_credentials().
1.5.6