msg
1.12.11devel
Loading...
Searching...
No Matches
libsofia-sip-ua
msg
sofia-sip
msg_tag_class.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 MSG_TAG_CLASS_H
27
#define MSG_TAG_CLASS_H
28
37
#ifndef SU_TAG_H
38
#include <
sofia-sip/su_tag.h
>
39
#endif
40
41
SOFIA_BEGIN_DECLS
42
43
SOFIAPUBFUN
int
msghdrtag_snprintf(
tagi_t
const
*t,
char
b[],
size_t
size);
44
SOFIAPUBFUN
size_t
msghdrtag_xtra(
tagi_t
const
*t,
size_t
offset);
45
SOFIAPUBFUN
tagi_t
*msghdrtag_dup(
tagi_t
*dst,
tagi_t
const
*src,
46
void
**inout_buffer);
47
SOFIAPUBFUN
int
msghdrtag_scan
(
tag_type_t
tt,
su_home_t
*home,
48
char
const
*s,
49
tag_value_t
*return_value);
50
SOFIAPUBFUN
tagi_t
*msghdrtag_filter(
tagi_t
*dst,
tagi_t
const
f[],
51
tagi_t
const
*src,
52
void
**inout_buffer);
53
54
SOFIAPUBFUN
tagi_t
*msgstrtag_filter(
tagi_t
*dst,
tagi_t
const
f[],
55
tagi_t
const
*src,
56
void
**inout_buffer);
57
58
SOFIAPUBFUN
int
msgobjtag_snprintf(
tagi_t
const
*t,
char
b[],
size_t
size);
59
SOFIAPUBFUN
size_t
msgobjtag_xtra(
tagi_t
const
*t,
size_t
offset);
60
SOFIAPUBFUN
tagi_t
*msgobjtag_dup(
tagi_t
*dst,
tagi_t
const
*src,
61
void
**inout_buffer);
62
63
SOFIA_END_DECLS
64
65
#endif
msghdrtag_scan
int msghdrtag_scan(tag_type_t tt, su_home_t *home, char const *s, tag_value_t *return_value)
Convert a string to a header structure based on to the tag.
Definition
msg_tag.c:152
tagi_t
su_home_t
SU_HOME_T su_home_t
SOFIAPUBFUN
#define SOFIAPUBFUN
su_tag.h
tag_value_t
intptr_t tag_value_t
tag_type_t
struct tag_type_s const * tag_type_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.