summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rxvtdaemon.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/rxvtdaemon.h b/src/rxvtdaemon.h
new file mode 100644
index 0000000..a9e1656
--- /dev/null
+++ b/src/rxvtdaemon.h
@@ -0,0 +1,27 @@
+#ifndef RXVT_DAEMON_H
+#define RXVT_DAEMON_H
+
+#include <limits.h>
+
+#ifndef PATH_MAX
+# define PATH_MAX 16384
+#endif
+
+#include "rxvtutil.h"
+
+struct rxvt_connection
+{
+ int fd;
+
+ static char *unix_sockname ();
+
+ void send (const char *data, int len);
+ void send (const char *data);
+ void send (int data);
+
+ bool recv (auto_str &data, int *len = 0);
+ bool recv (int &data);
+};
+
+#endif
+