SIP Witch 1.9.15
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
eX_options.h
Go to the documentation of this file.
1 /*
2  eXosip - This is the eXtended osip library.
3  Copyright (C) 2001-2012 Aymeric MOIZARD amoizard@antisip.com
4 
5  eXosip is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9 
10  eXosip 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
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program; if not, write to the Free Software
17  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19 
20 
21 #ifdef ENABLE_MPATROL
22 #include <mpatrol.h>
23 #endif
24 
25 #ifndef MINISIZE
26 
27 #ifndef __EX_OPTIONS_H__
28 #define __EX_OPTIONS_H__
29 
31 #include <time.h>
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
67  int eXosip_options_build_request (struct eXosip_t *excontext, osip_message_t ** options, const char *to, const char *from, const char *route);
68 
75  int eXosip_options_send_request (struct eXosip_t *excontext, osip_message_t * options);
76 
85  int eXosip_options_build_answer (struct eXosip_t *excontext, int tid, int status, osip_message_t ** answer);
86 
95  int eXosip_options_send_answer (struct eXosip_t *excontext, int tid, int status, osip_message_t * answer);
96 
100 #ifdef __cplusplus
101 }
102 #endif
103 #endif
104 #endif
int eXosip_options_build_answer(struct eXosip_t *excontext, int tid, int status, osip_message_t **answer)
Build answer for an OPTIONS request.
Structure for SIP Message (REQUEST and RESPONSE).
Definition: osip_message.h:55
int eXosip_options_build_request(struct eXosip_t *excontext, osip_message_t **options, const char *to, const char *from, const char *route)
Build a default OPTIONS message.
int eXosip_options_send_answer(struct eXosip_t *excontext, int tid, int status, osip_message_t *answer)
Send answer for an OPTIONS request.
oSIP SIP Parser additionnal Routines
int eXosip_options_send_request(struct eXosip_t *excontext, osip_message_t *options)
Send an OPTIONS request.