libosip  4.0.0
osip_authentication_info.h
Go to the documentation of this file.
1 /*
2  The oSIP library implements the Session Initiation Protocol (SIP -rfc3261-)
3  Copyright (C) 2001-2012 Aymeric MOIZARD amoizard@antisip.com
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Lesser General Public
7  License as published by the Free Software Foundation; either
8  version 2.1 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public
16  License along with this library; if not, write to the Free Software
17  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19 
20 
21 #ifndef _OSIP_AUTHENTICATION_INFO_H_
22 #define _OSIP_AUTHENTICATION_INFO_H_
23 
24 
41 
47  {
48  char *nextnonce;
49  char *qop_options;
50  char *rspauth;
51  char *cnonce;
52  char *nonce_count;
53  };
54 
55 
56 #ifdef __cplusplus
57 extern "C"
58 {
59 #endif
60 
71  int osip_authentication_info_parse (osip_authentication_info_t * header, const char *hvalue);
77  int osip_authentication_info_to_str (const osip_authentication_info_t * header, char **dest);
90 
91 
125  char *value);
148 
149 
150 #ifdef __cplusplus
151 }
152 #endif
153 
156 #endif