static int init_dso(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp) { /* This isn't ideal, we're not actually being called before any pool is created, but we are being called before the server or request pools are created, which is probably good enough for 98% of cases. */ svn_dso_initialize(); return OK; }
/* Initializes the memory pool */ static int init_pool (apr_pool_t **pool) { if (apr_initialize () != APR_SUCCESS) { return 1; } svn_dso_initialize (); *pool = svn_pool_create (NULL); return 0; }