Loading...
Searching...
No Matches
su_tag_io.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 SU_TAG_IO_H
#define SU_TAG_IO_H
#ifndef SU_TAG_H
#include <sofia-sip/su_tag.h>
#endif
#ifndef SU_H
#include <sofia-sip/su.h>
#endif
#include <stdio.h>
SOFIA_BEGIN_DECLS
SOFIAPUBFUN void tl_print(FILE *f, char const *title, tagi_t const lst[]);
#if SU_INLINE_TAG_CAST
su_inline tag_value_t tag_socket_v(su_socket_t v) {
return (tag_value_t)v;
}
su_inline tag_value_t tag_socket_vr(su_socket_t *vp) {
return (tag_value_t)vp;
}
#else
#define tag_socket_v(v) (tag_value_t)(v)
#define tag_socket_vr(v) (tag_value_t)(v)
#endif
SOFIA_END_DECLS
#endif
tl_print
void tl_print(FILE *f, char const *title, tagi_t const lst[])
\
Definition su_tag_io.c:48
tagi_t
Tag item.
Definition su_tag.h:63
su.h
Socket and network address interface.
su_socket_t
int su_socket_t
Socket descriptor type.
Definition su.h:128
SOFIAPUBFUN
#define SOFIAPUBFUN
SOFIAPUBFUN declares an exported function.
Definition su_config.h:66
su_inline
#define su_inline
Define as suitable declarator static inline functions.
Definition su_configure.h:90
su_tag.h
\ Object-oriented tags and tag list interface.
tag_value_t
intptr_t tag_value_t
Tag item value.
Definition su_tag.h:57

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