summaryrefslogtreecommitdiffstats
path: root/PICA_nodeconfig.h
diff options
context:
space:
mode:
authorme_laptop <me_laptop@fb96df88-216d-11de-830c-f3023f12d8ac>2012-08-05 09:17:21 +0000
committerme_laptop <me_laptop@fb96df88-216d-11de-830c-f3023f12d8ac>2012-08-05 09:17:21 +0000
commit999c3d8546b80f921c63b6ae41ca35932bf5cf79 (patch)
tree98370450a65a3b57edd193c954deeb2d383097b5 /PICA_nodeconfig.h
parent71eadd53afc4d1e194946aaa18b28586830e2c81 (diff)
downloadpica-pica-999c3d8546b80f921c63b6ae41ca35932bf5cf79.tar.gz
pica-pica-999c3d8546b80f921c63b6ae41ca35932bf5cf79.zip
man pages - pica-node(8), pica-node.conf(5), default conf values
git-svn-id: svn://localhost/project_picapica/trunk@156 fb96df88-216d-11de-830c-f3023f12d8ac
Diffstat (limited to 'PICA_nodeconfig.h')
-rw-r--r--PICA_nodeconfig.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/PICA_nodeconfig.h b/PICA_nodeconfig.h
index db44346..bbb2f1d 100644
--- a/PICA_nodeconfig.h
+++ b/PICA_nodeconfig.h
@@ -2,6 +2,14 @@
#ifndef PICA_NODECONFIG_H
#define PICA_NODECONFIG_H
+//FIXME these default values should be set by "configure" script
+//FIXME put these macros inside man pages and substitute them using sed during "make install"
+#define PICA_NODECONFIG_DEF_ANNOUNCED_ADDR "0.0.0.0"
+#define PICA_NODECONFIG_DEF_LISTEN_PORT 2299
+#define PICA_NODECONFIG_DEF_NODES_DB_FILE "/var/lib/pica-node/nodelist.db"
+#define PICA_NODECONFIG_DEF_CONFIG_FILE "/etc/pica-node.conf"
+#define PICA_NODECONFIG_DEF_CA_CERT_FILE "/usr/share/pica-node/CA.pem"
+
struct nodeconfig
{
char *announced_addr;