Loading...
Searching...
No Matches
nta_stateless.h
Go to the documentation of this file.
/*
* This file is part of the Sofia-SIP package
*
* Copyright (C) 2005 Nokia Corporation.
*
* Contact: Pekka Pessi <pekka.pessi@nokia-email.address.hidden>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#ifndef NTA_STATELESS_H
#define NTA_STATELESS_H
#ifndef NTA_H
#include <sofia-sip/nta.h>
#endif
SOFIA_BEGIN_DECLS
SOFIAPUBFUN
int nta_msg_tsend(nta_agent_t *agent, msg_t *msg, url_string_t const *u,
tag_type_t tag, tag_value_t value, ...);
SOFIAPUBFUN
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, ...);
SOFIAPUBFUN
int nta_msg_treply(nta_agent_t *self,
msg_t *msg,
int status, char const *phrase,
tag_type_t tag, tag_value_t value, ...);
SOFIAPUBFUN int nta_msg_ackbye(nta_agent_t *a, msg_t *msg);
SOFIA_END_DECLS
#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:3399
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:3528
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:3504
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:3718
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.12.11devel - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.