Ignore:
Timestamp:
Mar 2, 2006 9:12:28 PM (18 years ago)
Author:
bennylp
Message:

Added pj_strdup2_with_null

File:
1 edited

Legend:

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

    r180 r263  
    216216 * Duplicate string and NULL terminate the destination string. 
    217217 * 
    218  * @param pool 
    219  * @param dst 
    220  * @param src 
     218 * @param pool      The pool. 
     219 * @param dst       The string result. 
     220 * @param src       The string to duplicate. 
     221 * 
     222 * @return          The string result. 
    221223 */ 
    222224PJ_IDECL(pj_str_t*) pj_strdup_with_null(pj_pool_t *pool, 
     
    236238                               pj_str_t *dst, 
    237239                               const char *src); 
     240 
     241/** 
     242 * Duplicate string and NULL terminate the destination string. 
     243 * 
     244 * @param pool      The pool. 
     245 * @param dst       The string result. 
     246 * @param src       The string to duplicate. 
     247 * 
     248 * @return          The string result. 
     249 */ 
     250PJ_IDECL(pj_str_t*) pj_strdup2_with_null(pj_pool_t *pool, 
     251                                         pj_str_t *dst, 
     252                                         const char *src); 
     253 
    238254 
    239255/** 
Note: See TracChangeset for help on using the changeset viewer.