My Project
|
Go to the source code of this file.
Data Structures | |
struct | feResourceConfig_s |
Macros | |
#define | DIR_SEP '/' |
#define | DIR_SEPP "/" |
#define | MAXPATHLEN 1024 |
Typedefs | |
typedef feResourceConfig_s * | feResourceConfig |
Enumerations | |
enum | feResourceType { feResUndef = 0 , feResBinary , feResDir , feResFile , feResUrl , feResPath } |
Functions | |
char * | feResource (const char id, int warn=-1) |
char * | feResource (const char *key, int warn=-1) |
char * | feGetResource (const char id, int warn=-1) |
void | feInitResources (const char *argv0) |
void | feReInitResources () |
Variables | |
EXTERN_VAR feResourceConfig_s | feResourceConfigs [] |
EXTERN_VAR char * | feArgv0 |
const char | fePathSep = ':' |
struct feResourceConfig_s |
Definition at line 22 of file feResource.h.
Data Fields | ||
---|---|---|
const char * | env | |
const char * | fmt | |
const char | id | |
const char * | key | |
feResourceType | type | |
char * | value |
#define DIR_SEP '/' |
Definition at line 6 of file feResource.h.
#define DIR_SEPP "/" |
Definition at line 7 of file feResource.h.
#define MAXPATHLEN 1024 |
Definition at line 10 of file feResource.h.
typedef feResourceConfig_s* feResourceConfig |
Definition at line 31 of file feResource.h.
enum feResourceType |
Enumerator | |
---|---|
feResUndef | |
feResBinary | |
feResDir | |
feResFile | |
feResUrl | |
feResPath |
Definition at line 20 of file feResource.h.
char * feGetResource | ( | const char | id, |
int | warn = -1 |
||
) |
Definition at line 148 of file feResource.cc.
void feInitResources | ( | const char * | argv0 | ) |
Definition at line 163 of file feResource.cc.
void feReInitResources | ( | ) |
Definition at line 185 of file feResource.cc.
char * feResource | ( | const char * | key, |
int | warn = -1 |
||
) |
Definition at line 138 of file feResource.cc.
char * feResource | ( | const char | id, |
int | warn = -1 |
||
) |
Definition at line 143 of file feResource.cc.
EXTERN_VAR char* feArgv0 |
Definition at line 56 of file feResource.h.
const char fePathSep = ':' |
Definition at line 58 of file feResource.h.
EXTERN_VAR feResourceConfig_s feResourceConfigs[] |
Definition at line 33 of file feResource.h.