nta  1.13.17
nta_stateless.h
Go to the documentation of this file.
1 /*
2  * This file is part of the Sofia-SIP package
3  *
4  * Copyright (C) 2005 Nokia Corporation.
5  *
6  * Contact: Pekka Pessi <pekka.pessi@nokia-email.address.hidden>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public License
10  * as published by the Free Software Foundation; either version 2.1 of
11  * the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
21  * 02110-1301 USA
22  *
23  */
24 
25 #ifndef NTA_STATELESS_H
27 #define NTA_STATELESS_H
28 
37 #ifndef NTA_H
38 #include <sofia-sip/nta.h>
39 #endif
40 
41 SOFIA_BEGIN_DECLS
42 
80 int nta_msg_tsend(nta_agent_t *agent, msg_t *msg, url_string_t const *u,
81  tag_type_t tag, tag_value_t value, ...);
82 
85 int nta_msg_mreply(nta_agent_t *agent,
86  msg_t *reply, sip_t *sip,
87  int status, char const *phrase,
88  msg_t *req_msg,
89  tag_type_t tag, tag_value_t value, ...);
90 
93 int nta_msg_treply(nta_agent_t *self,
94  msg_t *msg,
95  int status, char const *phrase,
96  tag_type_t tag, tag_value_t value, ...);
97 
100 
101 SOFIA_END_DECLS
102 
103 #endif /* !defined(NTA_STATELESS_H) */
Nokia Transaction API for SIP.
struct nta_agent_s nta_agent_t
NTA agent.
Definition: nta.h:55
int nta_msg_tsend(nta_agent_t *agent, msg_t *msg, url_string_t const *u, tag_type_t tag, tag_value_t value,...)
Forward a request or response message.
Definition: nta.c:3596
int nta_msg_mreply(nta_agent_t *agent, msg_t *reply, sip_t *sip, int status, char const *phrase, msg_t *req_msg, tag_type_t tag, tag_value_t value,...)
Reply to a request message.
Definition: nta.c:3725
int nta_msg_treply(nta_agent_t *self, msg_t *msg, int status, char const *phrase, tag_type_t tag, tag_value_t value,...)
Reply to a request message.
Definition: nta.c:3701
int nta_msg_ackbye(nta_agent_t *a, msg_t *msg)
ACK and BYE an unknown 200 OK response to INVITE.
Definition: nta.c:3915
#define SOFIAPUBFUN
intptr_t tag_value_t
struct tag_type_s const * tag_type_t

Sofia-SIP 1.13.17 - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.