| Revision: | 1.1 |
| Committed: | Mon Nov 24 17:28:08 2003 UTC (22 years, 10 months ago) by pcg |
| Content type: | text/plain |
| Branch: | MAIN |
| Log Message: | *** empty log message *** |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | pcg | 1.1 | #ifndef RXVT_DAEMON_H |
| 2 | #define RXVT_DAEMON_H | ||
| 3 | |||
| 4 | struct rxvt_connection { | ||
| 5 | int fd; | ||
| 6 | |||
| 7 | static const char *unix_sockname (); | ||
| 8 | |||
| 9 | typedef char[4] token; | ||
| 10 | |||
| 11 | void send (const char *data, int len); | ||
| 12 | void send (const char *data); | ||
| 13 | void send (int data); | ||
| 14 | |||
| 15 | bool recv (char *&data, int *len = 0); | ||
| 16 | bool recv (token &data); | ||
| 17 | bool recv (int &data); | ||
| 18 | }; | ||
| 19 | |||
| 20 | #endif | ||
| 21 |