- Timestamp:
- Oct 23, 2013 5:34:48 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/pjsua2/pjsip/include/pjsua2/types.hpp
r4608 r4631 70 70 typedef void *TransportHandle; 71 71 72 /* 73 * Forward declaration of Account, AccountCallback, AccountConfig, to be used 74 * by Endpoint. 75 */ 76 class Account; 77 class AccountCallback; 78 class AccountConfig; 79 72 80 73 81 /** … … 105 113 /** The line number of PJSUA source file that throws the error */ 106 114 int srcLine; 115 116 /** Build error string. */ 117 string info(bool multi_line=false) const; 107 118 108 119 /** Default constructor */ … … 156 167 PJSUA2_CHECK_RAISE_ERROR2(status, "") 157 168 169 #define PJSUA2_CHECK_EXPR(expr) \ 170 do { \ 171 pj_status_t the_status = expr; \ 172 PJSUA2_CHECK_RAISE_ERROR2(the_status, #expr); \ 173 } while (0) 158 174 159 175 ////////////////////////////////////////////////////////////////////////////// … … 166 182 { 167 183 /** 184 * The authentication scheme (e.g. "digest"). 185 */ 186 string scheme; 187 188 /** 168 189 * Realm on which this credential is to be used. Use "*" to make 169 190 * a credential that can be used to authenticate against any challenges. 170 191 */ 171 192 string realm; 172 173 /**174 * The authentication scheme (e.g. "digest").175 */176 string scheme;177 193 178 194 /** … … 208 224 string akaAmf; 209 225 226 /** Default constructor */ 227 AuthCredInfo(); 228 229 /** Construct a credential with the specified parameters */ 230 AuthCredInfo(const string &scheme, 231 const string &realm, 232 const string &user_name, 233 const int data_type, 234 const string data); 210 235 }; 211 236
Note: See TracChangeset
for help on using the changeset viewer.