libt3config
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
Data Fields
t3_config_opts_t Struct Reference

Options struct used when reading a file. More...

Data Fields

int flags
 Set of flags, or 0 for defaults. More...
 
union {
   struct {
      int   flags
 The flags, passed to t3_config_open_from_path. More...
 
      const char **   path
 The NULL-terminated array of search paths, passed to t3_config_open_from_path. More...
 
   }   dflt
 Information for the default include mechanism. More...
 
   struct {
      void *   data
 Data passed to the callback function. More...
 
      FILE *(*   open )(const char *name, void *data)
 The function to call to open an include file. More...
 
   }   user
 Information for the user include mechanism. More...
 
include_callback
 Information for facilitating file inclusion. More...
 

Detailed Description

Options struct used when reading a file.

Field Documentation

void* t3_config_opts_t::data

Data passed to the callback function.

struct { ... } t3_config_opts_t::dflt

Information for the default include mechanism.

int t3_config_opts_t::flags

Set of flags, or 0 for defaults.

The flags, passed to t3_config_open_from_path.

union { ... } t3_config_opts_t::include_callback

Information for facilitating file inclusion.

FILE*(* t3_config_opts_t::open)(const char *name, void *data)

The function to call to open an include file.

const char** t3_config_opts_t::path

The NULL-terminated array of search paths, passed to t3_config_open_from_path.

struct { ... } t3_config_opts_t::user

Information for the user include mechanism.