… | |
… | |
19 | * along with this program; if not, write to the Free Software |
19 | * along with this program; if not, write to the Free Software |
20 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
20 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
21 | *----------------------------------------------------------------------*/ |
21 | *----------------------------------------------------------------------*/ |
22 | |
22 | |
23 | #include "../config.h" |
23 | #include "../config.h" |
24 | #include <cstdio> |
24 | #include <stdio.h> |
25 | #include <cstdlib> |
25 | #include <stdlib.h> |
26 | #include <cstring> |
26 | #include <string.h> |
27 | #include <csignal> |
27 | #include <signal.h> |
28 | |
28 | |
29 | #include <unistd.h> |
29 | #include <unistd.h> |
30 | #include <sys/socket.h> |
30 | #include <sys/socket.h> |
31 | #include <sys/un.h> |
31 | #include <sys/un.h> |
32 | |
32 | |
33 | #include "rxvtdaemon.h" |
33 | #include "rxvtdaemon.h" |
34 | #include "libptytty.h" |
34 | #include "libptytty.h" |
35 | |
|
|
36 | #include "rxvt.h" |
|
|
37 | |
35 | |
38 | #define STATUS_SUCCESS 0 |
36 | #define STATUS_SUCCESS 0 |
39 | #define STATUS_FAILURE 1 |
37 | #define STATUS_FAILURE 1 |
40 | #define STATUS_CONNECTION_FAILED 2 |
38 | #define STATUS_CONNECTION_FAILED 2 |
41 | |
39 | |