Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 /*
2 Copyright (c) 2007, Adobe Systems, Incorporated
3 All rights reserved.
5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions are
7 met:
9 * Redistributions of source code must retain the above copyright
10 notice, this list of conditions and the following disclaimer.
12 * Redistributions in binary form must reproduce the above copyright
13 notice, this list of conditions and the following disclaimer in the
14 documentation and/or other materials provided with the distribution.
16 * Neither the name of Adobe Systems, Network Resonance nor the names of its
17 contributors may be used to endorse or promote products derived from
18 this software without specific prior written permission.
20 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */
35 #ifndef _ice_reg_h
36 #define _ice_reg_h
37 #ifdef __cplusplus
38 using namespace std;
39 extern "C" {
40 #endif /* __cplusplus */
42 #define NR_ICE_REG_PREF_TYPE_HOST "ice.pref.type.host"
43 #define NR_ICE_REG_PREF_TYPE_RELAYED "ice.pref.type.relayed"
44 #define NR_ICE_REG_PREF_TYPE_SRV_RFLX "ice.pref.type.srv_rflx"
45 #define NR_ICE_REG_PREF_TYPE_PEER_RFLX "ice.pref.type.peer_rflx"
46 #define NR_ICE_REG_PREF_TYPE_RELAYED_TCP "ice.pref.type.relayed_tcp"
48 #define NR_ICE_REG_PREF_INTERFACE_PRFX "ice.pref.interface"
49 #define NR_ICE_REG_SUPPRESS_INTERFACE_PRFX "ice.suppress.interface"
51 #define NR_ICE_REG_STUN_SRV_PRFX "ice.stun.server"
52 #define NR_ICE_REG_STUN_SRV_ADDR "addr"
53 #define NR_ICE_REG_STUN_SRV_PORT "port"
55 #define NR_ICE_REG_TURN_SRV_PRFX "ice.turn.server"
56 #define NR_ICE_REG_TURN_SRV_ADDR "addr"
57 #define NR_ICE_REG_TURN_SRV_PORT "port"
58 #define NR_ICE_REG_TURN_SRV_BANDWIDTH "bandwidth"
59 #define NR_ICE_REG_TURN_SRV_LIFETIME "lifetime"
60 #define NR_ICE_REG_TURN_SRV_USERNAME "username"
61 #define NR_ICE_REG_TURN_SRV_PASSWORD "password"
63 #define NR_ICE_REG_KEEPALIVE_TIMER "ice.keepalive_timer"
65 #ifdef __cplusplus
66 }
67 #endif /* __cplusplus */
68 #endif