Fix segfault setting MenuFace pixmap style for menus.
[fvwm.git] / modules / FvwmConsole / FvwmConsole.h
blob726e36a4a75ec08ef6f9cf50588c123e0984edaf
1 /* -*-c-*- */
2 #include <sys/types.h>
4 #if HAVE_SYS_BSDTYPES_H
5 #include <sys/bsdtypes.h>
6 #endif
8 #if HAVE_SYS_SELECT_H
9 #include <sys/select.h>
10 #endif
12 #include <unistd.h>
13 #include <stdio.h>
14 #include <sys/stat.h>
15 #include <fcntl.h>
16 #include <sys/socket.h>
17 #include <sys/un.h>
18 #include <signal.h>
19 #include <errno.h>
21 #include "libs/fvwmlib.h"
22 #include "libs/Module.h"
23 #include "libs/fvwmsignal.h"
25 #define S_NAME "/.FvwmConsole-Socket"
26 /* Prompts for readline support */
27 #define PS1 ""
28 #define PS2 ">"
30 #define HISTSIZE 100 /* readline history file size */
31 #define HISTFILE "/.FvwmConsole-History"
33 /* #define M_PASS M_ERROR */
34 #define M_PASS M_ERROR
36 #define XTERM "xterm"
38 /* message to client */
39 #define C_BEG "_C_Config_Line_Begin_\n"
40 #define C_END "_C_Config_Line_End_\n"
41 #define C_CLOSE "_C_Socket_Close_\n"
43 #define MAX_COMMAND_SIZE 1000
44 #define MAX_MESSAGE_SIZE 260