FreeBSD/contrib/subversion/subversion/libsvn_ra_serf/property.c
/* Removes all non regular properties from PROPS */
Removes all non regular properties from PROPS
Removes all non regular properties from PROPS
void
svn_ra_serf__keep_only_regular_props(apr_hash_t *props,
                                     apr_pool_t *scratch_pool)
{
  apr_hash_index_t *hi;
  for (hi = apr_hash_first(scratch_pool, props); hi; hi = apr_hash_next(hi))
    {
      const char *propname = apr_hash_this_key(hi);
      if (svn_property_kind2(propname) != svn_prop_regular_kind)
        svn_hash_sets(props, propname, NULL);
    }
}
void svn_ra_serf__keep_only_regular_props ( apr_hash_t * props , apr_pool_t * scratch_pool ) { apr_hash_index_t * hi ; for ( hi = apr_hash_first ( scratch_pool , props ) ; hi ; hi = apr_hash_next ( hi ) ) { const char * propname = apr_hash_this_key ( hi ) ; if ( svn_property_kind2 ( propname ) != svn_prop_regular_kind ) svn_hash_sets ( props , propname , NULL ) ; } }
Removes all non regular properties from PROPS
Removes all non regular properties from PROPS