#include "mysys_priv.h"
#include "m_string.h"
#include "m_ctype.h"
#include <my_dir.h>
#include <help_start.h>
#include <help_end.h>
Clases |
struct | handle_option_ctx |
'defines' |
#define | MAX_DEFAULT_DIRS 7 |
#define | NEWLINE "\n" |
Funciones |
int | my_search_option_files (const char *conf_file, int *argc, char ***argv, uint *args_used, Process_option_func func, void *func_ctx) |
int | get_defaults_options (int argc, char **argv, char **defaults, char **extra_defaults, char **group_suffix) |
int | load_defaults (const char *conf_file, const char **groups, int *argc, char ***argv) |
void | free_defaults (char **argv) |
void | my_print_default_files (const char *conf_file) |
void | print_defaults (const char *conf_file, const char **groups) |
Variables |
const char * | my_defaults_file = 0 |
const char * | my_defaults_group_suffix = 0 |
char * | my_defaults_extra_file = 0 |
const char * | default_directories [MAX_DEFAULT_DIRS+1] |
Documentación de los 'defines'
#define MAX_DEFAULT_DIRS 7 |
Documentación de las funciones
void free_defaults |
( |
char ** |
argv | ) |
|
int get_defaults_options |
( |
int |
argc, |
|
|
char ** |
argv, |
|
|
char ** |
defaults, |
|
|
char ** |
extra_defaults, |
|
|
char ** |
group_suffix |
|
) |
| |
int load_defaults |
( |
const char * |
conf_file, |
|
|
const char ** |
groups, |
|
|
int * |
argc, |
|
|
char *** |
argv |
|
) |
| |
void my_print_default_files |
( |
const char * |
conf_file | ) |
|
copy group
Construct new group
void print_defaults |
( |
const char * |
conf_file, |
|
|
const char ** |
groups |
|
) |
| |
Documentación de las variables