Ignore:
Timestamp:
Feb 22, 2007 2:09:23 AM (17 years ago)
Author:
bennylp
Message:

Continuing work on the new STUN framework, partly implemented the client session

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/include/pjlib-util/stun_msg.h

    r992 r993  
    11911191 
    11921192/** 
     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 */ 
     1204PJ_DECL(char*) pj_stun_msg_dump(const pj_stun_msg *msg, 
     1205                                char *buffer, 
     1206                                unsigned *length); 
     1207 
     1208 
     1209/** 
    11931210 * Find STUN attribute in the STUN message, starting from the specified 
    11941211 * index. 
    11951212 * 
    11961213 * @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. 
    11981215 * @param start_index   The start index of the attribute in the message. 
    11991216 *                      Specify zero to start searching from the first 
     
    12131230 * 
    12141231 * @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. 
    12161233 * @param xor_ed        If non-zero, the port and address will be XOR-ed 
    12171234 *                      with magic, to make the XOR-MAPPED-ADDRESS attribute. 
     
    12351252 * 
    12361253 * @param pool          The pool to allocate memory from. 
     1254 * @param attr_type     Attribute type, from #pj_stun_attr_type. 
    12371255 * @param value         The string value to be assigned to the attribute. 
    12381256 * @param p_attr        Pointer to receive the attribute. 
     
    13161334 * 
    13171335 * @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. 
    13191337 * @param p_attr        Pointer to receive the attribute. 
    13201338 * 
Note: See TracChangeset for help on using the changeset viewer.