Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=cfpm.git;a=commitdiff;h=1c22468f9e45bc287d7e3dfdfcb2506aca16b73a
commit 1c22468f9e45bc287d7e3dfdfcb2506aca16b73a Author: James Buren <r...@frugalware.org> Date: Thu Oct 29 03:25:58 2009 -0500 Config.c * initial draft diff --git a/src/Config.c b/src/Config.c new file mode 100644 index 0000000..3d53015 --- /dev/null +++ b/src/Config.c @@ -0,0 +1,28 @@ +#include <stdlib.h> +#include <string.h> +#include <errno.h> +#include <sys/stat.h> +#include <fcntl.h> +#include <unistd.h> +#include <assert.h> +#include "Utility.h" +#include "Config.h" + +typedef struct Pair Pair; + +struct Pair { + char *key; + char *val; + Pair *next; +}; + +struct Config { + char *path; + char *err; + char *buf; + size_t size; + Pair *data; +}; + + + _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git