Ignore:
Timestamp:
May 11, 2008 6:11:32 PM (14 years ago)
Author:
bennylp
Message:

Added pj_sockaddr_cp()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/sock.h

    r1613 r1952  
    777777 * @param dst       Destination socket address. 
    778778 * @param src       Source socket address. 
     779 * 
     780 * @see @pj_sockaddr_cp() 
    779781 */ 
    780782PJ_DECL(void) pj_sockaddr_copy_addr(pj_sockaddr *dst, 
    781783                                    const pj_sockaddr *src); 
     784/** 
     785 * Copy socket address. This will copy the whole structure depending 
     786 * on the address family of the source socket address. 
     787 * 
     788 * @param dst       Destination socket address. 
     789 * @param src       Source socket address. 
     790 * 
     791 * @see @pj_sockaddr_copy_addr() 
     792 */ 
     793PJ_DECL(void) pj_sockaddr_cp(pj_sockaddr_t *dst, const pj_sockaddr_t *src); 
     794 
    782795/** 
    783796 * Get the IP address of an IPv4 socket address. 
Note: See TracChangeset for help on using the changeset viewer.