35
void gSet( int master );
36
void gSendInt( int val );
37
void gSendStr( const char *buf );
38
/*void gSendNStr( const char *buf, int len );*/
39
void gSendArr( int len, const char *buf );
41
char *gRecvStr( void );
42
char **gRecvStrArr( int *len );
43
char *gRecvArr( int *len );
45
int getCfgInt( int id );
46
char *getCfgStr( int id );
47
char **getCfgStrArr( int id, int *len );
49
void freeStrArr( char **arr );
35
void gSet(int master);
36
void gSendInt(int val);
37
void gSendStr(const char *buf);
38
/*void gSendNStr(const char *buf, int len);*/
39
void gSendArr(int len, const char *buf);
42
char **gRecvStrArr(int *len);
43
char *gRecvArr(int *len);
45
int getCfgInt(int id);
46
char *getCfgStr(int id);
47
char **getCfgStrArr(int id, int *len);
49
void freeStrArr(char **arr);
51
51
extern int debugLevel;
52
void debug( const char *fmt, ... );
53
void logInfo( const char *fmt, ... );
54
void logWarn( const char *fmt, ... );
55
void logError( const char *fmt, ... );
56
void logPanic( const char *fmt, ... ) ATTR_NORETURN;
52
void debug(const char *fmt, ...);
53
void logInfo(const char *fmt, ...);
54
void logWarn(const char *fmt, ...);
55
void logError(const char *fmt, ...);
56
void logPanic(const char *fmt, ...) ATTR_NORETURN;
60
void secureKeyboard( struct _XDisplay *dpy );
61
void securePointer( struct _XDisplay *dpy );
62
void secureInputs( struct _XDisplay *dpy );
63
void unsecureInputs( struct _XDisplay *dpy );
64
void secureDisplay( struct _XDisplay *dpy );
65
void unsecureDisplay( struct _XDisplay *dpy );
66
int pingServer( struct _XDisplay *dpy );
68
void setupModifiers( struct _XDisplay *mdpy, int numlock );
69
void restoreModifiers( void );
71
void setCursor( struct _XDisplay *mdpy, int window, int shape );
60
void secureKeyboard(struct _XDisplay *dpy);
61
void securePointer(struct _XDisplay *dpy);
62
void secureInputs(struct _XDisplay *dpy);
63
void unsecureInputs(struct _XDisplay *dpy);
64
void secureDisplay(struct _XDisplay *dpy);
65
void unsecureDisplay(struct _XDisplay *dpy);
66
int pingServer(struct _XDisplay *dpy);
68
void setupModifiers(struct _XDisplay *mdpy, int numlock);
69
void restoreModifiers(void);
71
void setCursor(struct _XDisplay *mdpy, int window, int shape);
74
74
extern int rfd; /* for select() loops */