Ignore:
Timestamp:
Mar 20, 2007 8:44:26 AM (17 years ago)
Author:
bennylp
Message:

--

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/include/pjnath/stun_msg.h

    r1080 r1085  
    15131513 * @param length        Length of data, or zero if no data is to be 
    15141514 *                      copied now. 
    1515  * @param p_attr        Pointer to receive the attribute. 
    15161515 * 
    15171516 * @return              PJ_SUCCESS on success or the appropriate error code. 
     
    15231522                                                 unsigned length); 
    15241523 
     1524/** 
     1525 * Create STUN empty attribute. 
     1526 * 
     1527 * @param pool          The pool to allocate memory from. 
     1528 * @param attr_type     The attribute type, from #pj_stun_attr_type. 
     1529 * @param p_attr        Pointer to receive the attribute. 
     1530 * 
     1531 * @return              PJ_SUCCESS on success or the appropriate error code. 
     1532 */ 
     1533PJ_DECL(pj_status_t) pj_stun_empty_attr_create(pj_pool_t *pool, 
     1534                                               int attr_type, 
     1535                                               pj_stun_empty_attr **p_attr); 
     1536 
     1537/** 
     1538 * Create STUN empty attribute and add the attribute to the message. 
     1539 * 
     1540 * @param pool          The pool to allocate memory from. 
     1541 * @param msg           The STUN message. 
     1542 * @param attr_type     The attribute type, from #pj_stun_attr_type. 
     1543 * 
     1544 * @return              PJ_SUCCESS on success or the appropriate error code. 
     1545 */ 
     1546PJ_DECL(pj_status_t) pj_stun_msg_add_empty_attr(pj_pool_t *pool, 
     1547                                                pj_stun_msg *msg, 
     1548                                                int attr_type); 
    15251549 
    15261550/** 
Note: See TracChangeset for help on using the changeset viewer.