ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtdaemon.h
Revision: 1.7
Committed: Sun May 1 13:54:28 2011 UTC (13 years ago) by sf-exg
Content type: text/plain
Branch: MAIN
CVS Tags: rxvt-unicode-rel-9_29, rxvt-unicode-rel-9_26, rxvt-unicode-rel-9_25, rxvt-unicode-rel-9_22, rxvt-unicode-rel-9_20, rxvt-unicode-rel-9_21, rel-9_14, rel-9_11, rel-9_12, rxvt-unicode-rel-9_19, rxvt-unicode-rel-9_18, rxvt-unicode-rel-9_17, rxvt-unicode-rel-9_16, rxvt-unicode-rel-9_15, rxvt-unicode-rel-9_30, HEAD
Changes since 1.6: +6 -0 lines
Log Message:
Fix compilation on systems that do not provide a definition for
PATH_MAX, such as GNU/Hurd.

File Contents

# Content
1 #ifndef RXVT_DAEMON_H
2 #define RXVT_DAEMON_H
3
4 #include <limits.h>
5
6 #ifndef PATH_MAX
7 # define PATH_MAX 16384
8 #endif
9
10 #include "rxvtutil.h"
11
12 struct rxvt_connection
13 {
14 int fd;
15
16 static char *unix_sockname ();
17
18 void send (const char *data, int len);
19 void send (const char *data);
20 void send (int data);
21
22 bool recv (auto_str &data, int *len = 0);
23 bool recv (int &data);
24 };
25
26 #endif
27