#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <fcntl.h>
#include <string.h>
Include dependency graph for editconf.c:
Go to the source code of this file.
Data Structures | |
struct | key_value |
Defines | |
#define | QRY_MAXPARAMS 64 |
Functions | |
int | unescape (char *, int) |
int | hexdigit (char) |
char * | paramValue (struct key_value *, char *) |
int | parseQuery (struct key_value *, char *) |
int | main (int argc, argv) |
Variables | |
char | copyQuery [4096] |
const char * | uri |
const char * | method |
const char * | query |
key_value | gparams [QRY_MAXPARAMS+1] |
#define QRY_MAXPARAMS 64 |
int hexdigit | ( | char | ) |
int main | ( | int | argc, | |
argv | ||||
) |
Definition at line 55 of file editconf.c.
References copyQuery, exit, free(), gparams, malloc(), method, paramValue(), parseQuery(), query, SEEK_END, SEEK_SET, unescape(), and uri.
char * paramValue | ( | struct key_value * | , | |
char * | ||||
) |
Definition at line 245 of file editconf.c.
References key_value::key, params, and QRY_MAXPARAMS.
Referenced by main().
int parseQuery | ( | struct key_value * | , | |
char * | ||||
) |
Definition at line 256 of file editconf.c.
References params, and QRY_MAXPARAMS.
Referenced by main().
int unescape | ( | char * | , | |
int | ||||
) |
char copyQuery[4096] |
const char* method |
const char* query |
const char* uri |