summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f33e8a6)
raw | patch | inline | side by side (parent: f33e8a6)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 9 Apr 2010 12:50:16 +0000 (14:50 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 9 Apr 2010 12:50:16 +0000 (14:50 +0200) |
src/pinba.c | patch | blob | history |
diff --git a/src/pinba.c b/src/pinba.c
index 264fbdf4dbfbacbcf5bcc573761aaaccc8000760..77d72381058134c8a3a766b14bb1006dae2aee80 100644 (file)
--- a/src/pinba.c
+++ b/src/pinba.c
# define PINBA_UDP_BUFFER_SIZE 65536
#endif
+#ifndef PINBA_DEFAULT_ADDRESS
+# define PINBA_DEFAULT_ADDRESS "127.0.0.1" /* FIXME */
+#endif
+
+#ifndef PINBA_DEFAULT_PORT
+# define PINBA_DEFAULT_PORT 12345 /* FIXME */
+#endif
+
+/*
+ * Private data structures
+ */
typedef struct _pinba_statres_ pinba_statres;
struct _pinba_statres_ {
const char *name;