func: svn_string_t *svn_string_createf(apr_pool_t *pool,const char *fmt,... ) svn_string_t * str ; va_list ap ; str = svn_string_createv ( pool , fmt , ap ); svn_string_t *svn_string_createv(apr_pool_t *pool,const char *fmt,va_list ap) char * data = apr_pvsprintf ( pool , fmt , ap ) ; return create_string ( data , strlen ( data ) , pool ) ; static svn_string_t *create_string(const char *data,apr_size_t size,apr_pool_t *pool) svn_string_t * new_string ; new_string = ( apr_palloc ( pool , sizeof ( ( * new_string ) ) ) ); new_string -> data = data; new_string -> len = size; return new_string ; 