rrddump(1): Document the new `--daemon' option.
[rrdtool.git] / src / rrd_client.h
index aa80e59..92d4c07 100644 (file)
 #ifndef __RRD_CLIENT_H
 #define __RRD_CLIENT_H 1
 
-#define RRDD_SOCK_PATH "unix:/tmp/rrdd.sock"
-#define DEFAULT_PORT "42217"
+#ifndef RRDCACHED_DEFAULT_ADDRESS
+# define RRDCACHED_DEFAULT_ADDRESS "unix:/tmp/rrdcached.sock"
+#endif
+
+#define RRDCACHED_DEFAULT_PORT "42217"
+#define ENV_RRDCACHED_ADDRESS "RRDCACHED_ADDRESS"
 
 int rrdc_connect (const char *addr);
 int rrdc_disconnect (void);