diff options
| author | me_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac> | 2012-06-23 20:13:30 +0000 |
|---|---|---|
| committer | me_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac> | 2012-06-23 20:13:30 +0000 |
| commit | 18a1793435b5e250d92d0a7ea35eaef0030f2668 (patch) | |
| tree | e095edf1227fb1c7360c64081a026d4a90b61457 /PICA_nodeconfig.h | |
| parent | 53cd37ae110c635ba63be822ccbfd0cbd1169ea4 (diff) | |
| download | pica-pica-18a1793435b5e250d92d0a7ea35eaef0030f2668.tar.gz pica-pica-18a1793435b5e250d92d0a7ea35eaef0030f2668.zip | |
added iniparser sources, PICA_nodeconfig
git-svn-id: svn://localhost/project_picapica/trunk@130 fb96df88-216d-11de-830c-f3023f12d8ac
Diffstat (limited to 'PICA_nodeconfig.h')
| -rw-r--r-- | PICA_nodeconfig.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/PICA_nodeconfig.h b/PICA_nodeconfig.h new file mode 100644 index 0000000..34ce736 --- /dev/null +++ b/PICA_nodeconfig.h @@ -0,0 +1,17 @@ + +#ifndef PICA_NODECONFIG_H +#define PICA_NODECONFIG_H + +struct nodeconfig +{ +char *announced_addr; +char *listen_port; +char *nodes_db_file; +char *config_file; +}; + +extern struct nodeconfig nodecfg; + +int PICA_nodeconfig_load(const char *config_file); + +#endif
\ No newline at end of file |
