FreeBSD/contrib/subversion/subversion/libsvn_repos/node_tree.c
/*** Node creation and assembly structures and routines. ***/
Node creation and assembly structures and routines.
Node creation and assembly structures and routines .
static svn_repos_node_t *
create_node(const char *name,
            svn_repos_node_t *parent,
            apr_pool_t *pool)
{
  svn_repos_node_t *node = apr_pcalloc(pool, sizeof(*node));
  node->action = 'R';
  node->kind = svn_node_unknown;
  node->name = apr_pstrdup(pool, name);
  node->parent = parent;
  return node;
}
static svn_repos_node_t * create_node ( const char * name , svn_repos_node_t * parent , apr_pool_t * pool ) { svn_repos_node_t * node = apr_pcalloc ( pool , sizeof ( * node ) ) ; node -> action = ' ' ; node -> kind = svn_node_unknown ; node -> name = apr_pstrdup ( pool , name ) ; node -> parent = parent ; return node ; }
Node creation and assembly structures and routines.
Node creation and assembly structures and routines .