Defines | Functions
tool_parsecfg.c File Reference
#include "tool_setup.h"
#include "curlx.h"
#include "tool_cfgable.h"
#include "tool_getparam.h"
#include "tool_helpers.h"
#include "tool_homedir.h"
#include "tool_msgs.h"
#include "tool_parsecfg.h"
#include "memdebug.h"
Include dependency graph for tool_parsecfg.c:

Go to the source code of this file.

Defines

#define CURLRC   DOT_CHAR "curlrc"
#define ENABLE_CURLX_PRINTF
#define ISSEP(x, dash)   (!dash && (((x) == '=') || ((x) == ':')))

Functions

static char * my_get_line (FILE *fp)
int parseconfig (const char *filename, struct GlobalConfig *global)
static const char * unslashquote (const char *line, char *param)

Define Documentation

#define CURLRC   DOT_CHAR "curlrc"

Definition at line 37 of file tool_parsecfg.c.

Definition at line 24 of file tool_parsecfg.c.

#define ISSEP (   x,
  dash 
)    (!dash && (((x) == '=') || ((x) == ':')))

Definition at line 41 of file tool_parsecfg.c.


Function Documentation

static char * my_get_line ( FILE *  fp) [static]

Definition at line 328 of file tool_parsecfg.c.

int parseconfig ( const char *  filename,
struct GlobalConfig global 
)

Definition at line 47 of file tool_parsecfg.c.

static const char * unslashquote ( const char *  line,
char *  param 
) [static]

Definition at line 289 of file tool_parsecfg.c.



rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:09