peapod
0.1.0
EAPOL Proxy Daemon
|
Function prototypes for args.c
, global program arguments data structure.
More...
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | args_t |
The program arguments data structure. More... | |
Functions | |
char * | args_canonpath (const char *path, uint8_t create) |
Validate and canonicalize a path. More... | |
int | args_get (int argc, char *argv[]) |
Parse command-line arguments and set up the global program arguments data structure. More... | |
Function prototypes for args.c
, global program arguments data structure.
char* args_canonpath | ( | const char * | path, |
uint8_t | create | ||
) |
Validate and canonicalize a path.
path | Path to validate |
create | Flag: Test creating nonexistent path , mode 0644? |
NULL
if unsuccessful free(3)
ing the result defaults.h
int args_get | ( | int | argc, |
char * | argv[] | ||
) |
Parse command-line arguments and set up the global program arguments data structure.
argc | The number of command-line arguments |
argv | A vector of command-line arguments |