Changeset 993 for pjproject/trunk/pjlib-util/include/pjlib-util/stun_msg.h
- Timestamp:
- Feb 22, 2007 2:09:23 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/include/pjlib-util/stun_msg.h
r992 r993 1191 1191 1192 1192 /** 1193 * Dump STUN message to a printable string output. 1194 * 1195 * @param msg The STUN message 1196 * @param buffer Buffer where the printable string output will 1197 * be printed on. 1198 * @param length On input, specify the maximum length of the buffer. 1199 * On output, it will be filled up with the actual 1200 * length of the output string. 1201 * 1202 * @return The message string output. 1203 */ 1204 PJ_DECL(char*) pj_stun_msg_dump(const pj_stun_msg *msg, 1205 char *buffer, 1206 unsigned *length); 1207 1208 1209 /** 1193 1210 * Find STUN attribute in the STUN message, starting from the specified 1194 1211 * index. 1195 1212 * 1196 1213 * @param msg The STUN message. 1197 * @param attr_type The attribute type to be found .1214 * @param attr_type The attribute type to be found, from pj_stun_attr_type. 1198 1215 * @param start_index The start index of the attribute in the message. 1199 1216 * Specify zero to start searching from the first … … 1213 1230 * 1214 1231 * @param pool The pool to allocate memory from. 1215 * @param attr_type Attribute type .1232 * @param attr_type Attribute type, from #pj_stun_attr_type. 1216 1233 * @param xor_ed If non-zero, the port and address will be XOR-ed 1217 1234 * with magic, to make the XOR-MAPPED-ADDRESS attribute. … … 1235 1252 * 1236 1253 * @param pool The pool to allocate memory from. 1254 * @param attr_type Attribute type, from #pj_stun_attr_type. 1237 1255 * @param value The string value to be assigned to the attribute. 1238 1256 * @param p_attr Pointer to receive the attribute. … … 1316 1334 * 1317 1335 * @param pool The pool to allocate memory from. 1318 * @param attr_type The attribute type .1336 * @param attr_type The attribute type, from #pj_stun_attr_type. 1319 1337 * @param p_attr Pointer to receive the attribute. 1320 1338 *
Note: See TracChangeset
for help on using the changeset viewer.