nta
1.13.18
Toggle main menu visibility
Loading...
Searching...
No Matches
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
36
37
#ifndef NTA_H
38
#include <
sofia-sip/nta.h
>
39
#endif
40
41
SOFIA_BEGIN_DECLS
42
77
79
SOFIAPUBFUN
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
84
SOFIAPUBFUN
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
92
SOFIAPUBFUN
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
99
SOFIAPUBFUN
int
nta_msg_ackbye
(
nta_agent_t
*a,
msg_t
*msg);
100
101
SOFIA_END_DECLS
102
103
#endif
/* !defined(NTA_STATELESS_H) */
msg_t
struct msg_s msg_t
nta.h
Nokia Transaction API for SIP.
nta_agent_t
struct nta_agent_s nta_agent_t
NTA agent.
Definition
nta.h:55
nta_msg_tsend
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:3614
nta_msg_mreply
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:3743
nta_msg_treply
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:3719
nta_msg_ackbye
int nta_msg_ackbye(nta_agent_t *a, msg_t *msg)
ACK and BYE an unknown 200 OK response to INVITE.
Definition
nta.c:3933
sip_t
struct sip_s sip_t
SOFIAPUBFUN
#define SOFIAPUBFUN
tag_value_t
intptr_t tag_value_t
tag_type_t
struct tag_type_s const * tag_type_t
url_string_t
Sofia-SIP 1.13.18 - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.