FreeBSD/contrib/subversion/subversion/svnserve/serve.c
/* Write out a list of property diffs.  PROPDIFFS is an array of svn_prop_t
 * values. */
Write out a list of property diffs.  PROPDIFFS is an array of svn_prop_t
values.
Write out a list of property diffs . PROPDIFFS is an array of svn_prop_t values .
static svn_error_t *write_prop_diffs(svn_ra_svn_conn_t *conn,
                                     apr_pool_t *pool,
                                     const apr_array_header_t *propdiffs)
{
  int i;
  for (i = 0; i < propdiffs->nelts; ++i)
    {
      const svn_prop_t *prop = &APR_ARRAY_IDX(propdiffs, i, svn_prop_t);
      SVN_ERR(svn_ra_svn__write_tuple(conn, pool, "c(?s)",
                                      prop->name, prop->value));
    }
  return SVN_NO_ERROR;
}
static svn_error_t * write_prop_diffs ( svn_ra_svn_conn_t * conn , apr_pool_t * pool , const apr_array_header_t * propdiffs ) { int i ; for ( i = 0 ; i < propdiffs -> nelts ; ++ i ) { const svn_prop_t * prop = & APR_ARRAY_IDX ( propdiffs , i , svn_prop_t ) ; SVN_ERR ( svn_ra_svn__write_tuple ( conn , pool , " " , prop -> name , prop -> value ) ) ; } return SVN_NO_ERROR ; }
Write out a list of property diffs.
Write out a list of property diffs .