Apache2
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

◆ md_make_worker_accessible()

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.

◆ md_server_graceful()

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.

◆ md_try_chown()

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.