media/mtransport/third_party/nICEr/src/ice/ice_reg.h

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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

mercurial