libosip  5.3.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-2020 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 #ifndef _OSIP_AUTHENTICATION_INFO_H_
21 #define _OSIP_AUTHENTICATION_INFO_H_
22 
39 
45  char *auth_type;
46  char *nextnonce;
47  char *qop_options;
48  char *rspauth;
49  char *cnonce;
50  char *nonce_count;
51  char *snum;
52  char *srand;
53  char *realm;
54  char *targetname;
55  char *opaque;
56 };
57 
58 #ifdef __cplusplus
59 extern "C" {
60 #endif
61 
72 int osip_authentication_info_parse(osip_authentication_info_t *header, const char *hvalue);
78 int osip_authentication_info_to_str(const osip_authentication_info_t *header, char **dest);
90 
212 
213 #ifdef __cplusplus
214 }
215 #endif
216 
219 #endif
void osip_authentication_info_set_srand(osip_authentication_info_t *header, char *value)
Definition: osip_authentication_info.c:339
void osip_authentication_info_set_rspauth(osip_authentication_info_t *header, char *value)
Definition: osip_authentication_info.c:307
char * osip_authentication_info_get_cnonce(osip_authentication_info_t *header)
Definition: osip_authentication_info.c:295
char * osip_authentication_info_get_opaque(osip_authentication_info_t *header)
Definition: osip_authentication_info.c:359
char * osip_authentication_info_get_qop_options(osip_authentication_info_t *header)
Definition: osip_authentication_info.c:319
void osip_authentication_info_set_auth_type(osip_authentication_info_t *header, char *value)
Definition: osip_authentication_info.c:283
void osip_authentication_info_set_opaque(osip_authentication_info_t *header, char *value)
Definition: osip_authentication_info.c:363
void osip_authentication_info_set_qop_options(osip_authentication_info_t *header, char *value)
Definition: osip_authentication_info.c:323
int osip_authentication_info_clone(const osip_authentication_info_t *header, osip_authentication_info_t **dest)
Definition: osip_authentication_info.c:546
char * osip_authentication_info_get_targetname(osip_authentication_info_t *header)
Definition: osip_authentication_info.c:343
void osip_authentication_info_free(osip_authentication_info_t *header)
Definition: osip_authentication_info.c:528
char * osip_authentication_info_get_nonce_count(osip_authentication_info_t *header)
Definition: osip_authentication_info.c:311
void osip_authentication_info_set_nonce_count(osip_authentication_info_t *header, char *value)
Definition: osip_authentication_info.c:315
int osip_authentication_info_init(osip_authentication_info_t **header)
Definition: osip_authentication_info.c:29
char * osip_authentication_info_get_auth_type(osip_authentication_info_t *header)
Definition: osip_authentication_info.c:279
void osip_authentication_info_set_targetname(osip_authentication_info_t *header, char *value)
Definition: osip_authentication_info.c:347
char * osip_authentication_info_get_srand(osip_authentication_info_t *header)
Definition: osip_authentication_info.c:335
char * osip_authentication_info_get_snum(osip_authentication_info_t *header)
Definition: osip_authentication_info.c:327
void osip_authentication_info_set_realm(osip_authentication_info_t *header, char *value)
Definition: osip_authentication_info.c:355
void osip_authentication_info_set_nextnonce(osip_authentication_info_t *header, char *value)
Definition: osip_authentication_info.c:291
void osip_authentication_info_set_cnonce(osip_authentication_info_t *header, char *value)
Definition: osip_authentication_info.c:299
char * osip_authentication_info_get_nextnonce(osip_authentication_info_t *header)
Definition: osip_authentication_info.c:287
char * osip_authentication_info_get_rspauth(osip_authentication_info_t *header)
Definition: osip_authentication_info.c:303
void osip_authentication_info_set_snum(osip_authentication_info_t *header, char *value)
Definition: osip_authentication_info.c:331
int osip_authentication_info_parse(osip_authentication_info_t *header, const char *hvalue)
Definition: osip_authentication_info.c:79
char * osip_authentication_info_get_realm(osip_authentication_info_t *header)
Definition: osip_authentication_info.c:351
int osip_authentication_info_to_str(const osip_authentication_info_t *header, char **dest)
Definition: osip_authentication_info.c:370
Definition: osip_authentication_info.h:44
char * rspauth
Definition: osip_authentication_info.h:48
char * nextnonce
Definition: osip_authentication_info.h:46
char * opaque
Definition: osip_authentication_info.h:55
char * nonce_count
Definition: osip_authentication_info.h:50
char * cnonce
Definition: osip_authentication_info.h:49
char * qop_options
Definition: osip_authentication_info.h:47
char * realm
Definition: osip_authentication_info.h:53
char * snum
Definition: osip_authentication_info.h:51
char * srand
Definition: osip_authentication_info.h:52
char * auth_type
Definition: osip_authentication_info.h:45
char * targetname
Definition: osip_authentication_info.h:54