|
reSIProcate/stack
9694
|
00001 #if !defined(RESIP_SYMBOLS_HXX) 00002 #define RESIP_SYMBOLS_HXX 00003 00004 00005 namespace resip 00006 { 00007 00008 class Symbols 00009 { 00010 public: 00011 static const char* DefaultSipVersion; 00012 static const char* DefaultSipScheme; 00013 00014 static const char* AT_SIGN; 00015 static const char* COLON; 00016 static const char* BAR; 00017 static const char* DASH; 00018 static const char* DASHDASH; 00019 static const char* DOT; 00020 static const char* COMMA_OR_EQUAL; 00021 static const char* CRLF; 00022 static const char* CRLFCRLF; 00023 static const char* CR; 00024 static const char* LF; 00025 static const char* TAB; 00026 static const char* DOUBLE_QUOTE; 00027 static const char* LA_QUOTE; 00028 static const char* RA_QUOTE; 00029 static const char* EQUALS; 00030 static const char* SEMI_COLON; 00031 static const char* SEMI_OR_EQUAL; 00032 static const char* SLASH; 00033 static const char* B_SLASH; 00034 static const char* SPACE; 00035 static const char* COMMA; 00036 static const char* ZERO; 00037 static const char* LPAREN; 00038 static const char* RPAREN; 00039 static const char* LS_BRACKET; 00040 static const char* RS_BRACKET; 00041 static const char* PERIOD; 00042 static const char* QUESTION; 00043 static const char* AMPERSAND; 00044 static const char* PERCENT; 00045 static const char* STAR; 00046 static const char* UNDERSCORE; 00047 00048 static const char* ProtocolName; 00049 static const char* ProtocolVersion; 00050 static const char* UDP; 00051 static const char* TCP; 00052 static const char* TLS; 00053 static const char* DTLS; 00054 static const char* SCTP; 00055 static const char* SRVUDP; 00056 static const char* SRVTCP; 00057 static const char* SRVTLS; 00058 static const char* SRVSCTP; 00059 00060 static const char* Sip; 00061 static const char* Sips; 00062 static const char* Tel; 00063 static const char* Pres; 00064 00065 static const char* Phone; 00066 static const char* Isub; 00067 static const char* Postd; 00068 00069 static const char* auth; 00070 static const char* authInt; 00071 static const char* Digest; 00072 static const char* Basic; 00073 00074 static const char * const MagicCookie; 00075 static const char * const resipCookie; 00076 00077 static const int DefaultSipPort; 00078 static const int SipTlsPort; 00079 static const int DefaultSipsPort; 00080 00081 static const char* SrvSip; 00082 static const char* SrvSips; 00083 static const char* SrvUdp; 00084 static const char* SrvTcp; 00085 static const char* NaptrSip; 00086 static const char* NaptrSips; 00087 static const char* NaptrUdp; 00088 static const char* NaptrTcp; 00089 00090 static const char* audio; 00091 static const char* RTP_AVP; 00092 static const char* RTP_SAVP; 00093 static const char* UDP_TLS_RTP_SAVP; 00094 00095 static const char* Presence; 00096 static const char* Required; 00097 static const char* Optional; 00098 00099 static const char* C100rel; 00100 static const char* Replaces; 00101 static const char* Timer; 00102 static const char* NoReferSub; 00103 static const char* AnswerMode; 00104 static const char* TargetDialog; 00105 static const char* Path; 00106 static const char* Outbound; 00107 static const char* Undefined; 00108 00109 static const char* Pending; 00110 static const char* Active; 00111 static const char* Terminated; 00112 00113 static const char* Certificate; // from draft-ietf-certs 00114 static const char* Credential; // from draft-ietf-certs 00115 static const char* SipProfile; //from draft-ietf-sipping-config-framework 00116 00117 static const char* pathSep; 00118 static const char* id; 00119 00120 static const char* Gruu; 00121 }; 00122 00123 } 00124 00125 #endif 00126 00127 /* ==================================================================== 00128 * The Vovida Software License, Version 1.0 00129 * 00130 * Copyright (c) 2000 Vovida Networks, Inc. All rights reserved. 00131 * 00132 * Redistribution and use in source and binary forms, with or without 00133 * modification, are permitted provided that the following conditions 00134 * are met: 00135 * 00136 * 1. Redistributions of source code must retain the above copyright 00137 * notice, this list of conditions and the following disclaimer. 00138 * 00139 * 2. Redistributions in binary form must reproduce the above copyright 00140 * notice, this list of conditions and the following disclaimer in 00141 * the documentation and/or other materials provided with the 00142 * distribution. 00143 * 00144 * 3. The names "VOCAL", "Vovida Open Communication Application Library", 00145 * and "Vovida Open Communication Application Library (VOCAL)" must 00146 * not be used to endorse or promote products derived from this 00147 * software without prior written permission. For written 00148 * permission, please contact vocal@vovida.org. 00149 * 00150 * 4. Products derived from this software may not be called "VOCAL", nor 00151 * may "VOCAL" appear in their name, without prior written 00152 * permission of Vovida Networks, Inc. 00153 * 00154 * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED 00155 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 00156 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND 00157 * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL VOVIDA 00158 * NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT DAMAGES 00159 * IN EXCESS OF $1,000, NOR FOR ANY INDIRECT, INCIDENTAL, SPECIAL, 00160 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 00161 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 00162 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 00163 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 00164 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 00165 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 00166 * DAMAGE. 00167 * 00168 * ==================================================================== 00169 * 00170 * This software consists of voluntary contributions made by Vovida 00171 * Networks, Inc. and many individuals on behalf of Vovida Networks, 00172 * Inc. For more information on Vovida Networks, Inc., please see 00173 * <http://www.vovida.org/>. 00174 * 00175 */
1.7.5.1