digest.h File Reference

#include "digest_parser.h"
#include "../hf.h"
#include "../msg_parser.h"

Include dependency graph for digest.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  auth_body

Typedefs

typedef struct auth_body auth_body_t
typedef enum dig_err dig_err_t

Enumerations

enum  dig_err {
  E_DIG_OK = 0, E_DIG_USERNAME = 1, E_DIG_REALM = 2, E_DIG_NONCE = 4,
  E_DIG_URI = 8, E_DIG_RESPONSE = 16, E_DIG_CNONCE = 32, E_DIG_NC = 64,
  E_DIG_DOMAIN = 128
}

Functions

dig_err_t check_dig_cred (dig_cred_t *_c)
void free_credentials (auth_body_t **_b)
int get_authorized_cred (struct hdr_field *_f, struct hdr_field **_h)
int mark_authorized_cred (struct sip_msg *_m, struct hdr_field *_h)
int parse_credentials (struct hdr_field *_h)
void print_cred (dig_cred_t *_c)


Typedef Documentation

typedef struct auth_body auth_body_t

typedef enum dig_err dig_err_t


Enumeration Type Documentation

enum dig_err

Enumerator:
E_DIG_OK 
E_DIG_USERNAME 
E_DIG_REALM 
E_DIG_NONCE 
E_DIG_URI 
E_DIG_RESPONSE 
E_DIG_CNONCE 
E_DIG_NC 
E_DIG_DOMAIN 

Definition at line 55 of file digest.h.


Function Documentation

dig_err_t check_dig_cred ( dig_cred_t _c  ) 

void free_credentials ( auth_body_t **  _b  ) 

Definition at line 93 of file digest.c.

References pkg_free.

Referenced by clean_hdr_field(), and parse_credentials().

int get_authorized_cred ( struct hdr_field _f,
struct hdr_field **  _h 
)

int mark_authorized_cred ( struct sip_msg _m,
struct hdr_field _h 
)

int parse_credentials ( struct hdr_field _h  ) 

void print_cred ( dig_cred_t _c  ) 


Generated on Tue May 22 16:00:38 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6