Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
mod_md_os.h File Reference

Go to the source code of this file.

Functions

apr_status_t md_try_chown (const char *fname, unsigned int uid, int gid, apr_pool_t *p)
 
apr_status_t md_make_worker_accessible (const char *fname, apr_pool_t *p)
 
apr_status_t md_server_graceful (apr_pool_t *p, server_rec *s)
 

Function Documentation

apr_status_t md_make_worker_accessible ( const char *  fname,
apr_pool_t p 
)

Make a file or directory read/write(/searchable) by httpd workers.

apr_status_t md_server_graceful ( apr_pool_t p,
server_rec s 
)

Trigger a graceful restart of the server. Depending on the architecture, may return APR_ENOTIMPL.

apr_status_t md_try_chown ( const char *  fname,
unsigned int  uid,
int  gid,
apr_pool_t p 
)

Try chown'ing the file/directory. Give id -1 to not change uid/gid. Will return APR_ENOTIMPL on platforms not supporting this operation.