Directory Layout. More...
#include "apt.h"Go to the source code of this file.
Data Structures | |
| struct | apt_dir_layout_t |
Typedefs | |
| typedef typedefAPT_BEGIN_EXTERN_C struct apt_dir_layout_t | apt_dir_layout_t |
Functions | |
| apt_dir_layout_t * | apt_default_dir_layout_create (const char *root_dir_path, apr_pool_t *pool) |
| apt_dir_layout_t * | apt_custom_dir_layout_create (const char *conf_dir_path, const char *plugin_dir_path, const char *log_dir_path, const char *data_dir_path, apr_pool_t *pool) |
| char * | apt_datadir_filepath_get (const apt_dir_layout_t *dir_layout, const char *file_name, apr_pool_t *pool) |
| char * | apt_confdir_filepath_get (const apt_dir_layout_t *dir_layout, const char *file_name, apr_pool_t *pool) |
Directory Layout.
| typedef typedefAPT_BEGIN_EXTERN_C struct apt_dir_layout_t apt_dir_layout_t |
Directory layout declaration
| char* apt_confdir_filepath_get | ( | const apt_dir_layout_t * | dir_layout, | |
| const char * | file_name, | |||
| apr_pool_t * | pool | |||
| ) |
Construct file path relative to conf dir using the file name specified.
| apt_dir_layout_t* apt_custom_dir_layout_create | ( | const char * | conf_dir_path, | |
| const char * | plugin_dir_path, | |||
| const char * | log_dir_path, | |||
| const char * | data_dir_path, | |||
| apr_pool_t * | pool | |||
| ) |
Create (allocate) the structure of custom directories layout.
| char* apt_datadir_filepath_get | ( | const apt_dir_layout_t * | dir_layout, | |
| const char * | file_name, | |||
| apr_pool_t * | pool | |||
| ) |
Construct file path relative to data dir using the file name specified.
| apt_dir_layout_t* apt_default_dir_layout_create | ( | const char * | root_dir_path, | |
| apr_pool_t * | pool | |||
| ) |
Create (allocate) the structure of default directories layout.
1.6.1