/usr/include/sofia-sip-1.12/sofia-sip/stun_tag.h is in libsofia-sip-ua-dev 1.12.11+20110422-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | /*
* This file is part of the Sofia-SIP package
*
* Copyright (C) 2005-2006 Nokia Corporation.
*
* Contact: Pekka Pessi <pekka.pessi@nokia.com>
*
* 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 STUN_TAG_H
#define STUN_TAG_H
/**@file sofia-sip/stun_tag.h Tags for STUN.
*
* @author Pekka Pessi <Pekka.Pessi@nokia.com>
* @author Martti Mela <Martti.Mela@nokia.com>
* @author Kai Vehmanen <Kai.Vehmanen@nokia.com>
*
* @date Created: Tue Oct 18 20:13:50 EEST 2005 ppessi
*/
#ifndef SU_TAG_H
#include <sofia-sip/su_tag.h>
#endif
#ifndef SU_TAG_IO_H
#include <sofia-sip/su_tag_io.h>
#endif
SOFIA_BEGIN_DECLS
/*****************************************
* Note: see documentation in stun_tag.c *
*****************************************/
#define STUNTAG_ANY() stuntag_any, ((tag_value_t)0)
SOFIAPUBVAR tag_typedef_t stuntag_any;
#define STUNTAG_DOMAIN(x) stuntag_domain, tag_str_v(x)
SOFIAPUBVAR tag_typedef_t stuntag_domain;
#define STUNTAG_DOMAIN_REF(x) stuntag_domain_ref, tag_str_vr(&(x))
SOFIAPUBVAR tag_typedef_t stuntag_domain_ref;
#define STUNTAG_SERVER(x) stuntag_server, tag_str_v(x)
SOFIAPUBVAR tag_typedef_t stuntag_server;
#define STUNTAG_SERVER_REF(x) stuntag_server_ref, tag_str_vr(&(x))
SOFIAPUBVAR tag_typedef_t stuntag_server_ref;
#define STUNTAG_REQUIRE_INTEGRITY(x) stuntag_require_integrity, tag_int_v(x)
SOFIAPUBVAR tag_typedef_t stuntag_require_integrity;
#define STUNTAG_REQUIRE_INTEGRITY_REF(x) stuntag_require_integrity_ref, tag_int_vr(&(x))
SOFIAPUBVAR tag_typedef_t stuntag_require_integrity_ref;
#define STUNTAG_INTEGRITY(x) stuntag_integrity, tag_int_v(x)
SOFIAPUBVAR tag_typedef_t stuntag_integrity;
#define STUNTAG_INTEGRITY_REF(x) stuntag_integrity_ref, tag_int_vr(&(x))
SOFIAPUBVAR tag_typedef_t stuntag_integrity_ref;
#define STUNTAG_SOCKET(x) stuntag_socket, tag_socket_v(x)
SOFIAPUBVAR tag_typedef_t stuntag_socket;
#define STUNTAG_SOCKET_REF(x) stuntag_socket_ref, tag_socket_vr(&(x))
SOFIAPUBVAR tag_typedef_t stuntag_socket_ref;
#define STUNTAG_REGISTER_EVENTS(x) stuntag_register_events, tag_int_v(x)
SOFIAPUBVAR tag_typedef_t stuntag_register_events;
#define STUNTAG_REGISTER_EVENTS_REF(x) stuntag_register_events_ref, tag_int_vr(&(x))
SOFIAPUBVAR tag_typedef_t stuntag_register_events_ref;
#define STUNTAG_ACTION(x) stuntag_action, tag_int_v(x)
SOFIAPUBVAR tag_typedef_t stuntag_action;
#define STUNTAG_ACTION_REF(x) stuntag_action_ref, tag_int_vr(&(x))
SOFIAPUBVAR tag_typedef_t stuntag_action_ref;
#define STUNTAG_CHANGE_IP(x) stuntag_change_ip, tag_bool_v(x)
SOFIAPUBVAR tag_typedef_t stuntag_change_ip;
#define STUNTAG_CHANGE_IP_REF(x) stuntag_change_ip_ref, tag_bool_vr(&(x))
SOFIAPUBVAR tag_typedef_t stuntag_change_ip_ref;
#define STUNTAG_CHANGE_PORT(x) stuntag_change_port, tag_bool_v(x)
SOFIAPUBVAR tag_typedef_t stuntag_change_port;
#define STUNTAG_CHANGE_PORT_REF(x) stuntag_change_port_ref, tag_bool_vr(&(x))
SOFIAPUBVAR tag_typedef_t stuntag_change_port_ref;
#define STUNTAG_TIMEOUT(x) stuntag_timeout, tag_uint_v((x))
SOFIAPUBVAR tag_typedef_t stuntag_timeout;
#define STUNTAG_TIMEOUT_REF(x) stuntag_timeout_ref, tag_uint_vr(&(x))
SOFIAPUBVAR tag_typedef_t stuntag_timeout_ref;
SOFIA_END_DECLS
#endif /* STUN_TAG_H */
|