2012-07-31 14:32:13 +02:00
|
|
|
#ifndef _MESSAGES_H
|
|
|
|
#define _MESSAGES_H
|
|
|
|
|
2012-09-11 16:29:43 +02:00
|
|
|
#include "types.h"
|
2012-07-31 14:32:13 +02:00
|
|
|
|
2012-11-11 18:55:58 +01:00
|
|
|
#define TOK_SEP " "
|
|
|
|
|
2012-08-02 21:53:27 +02:00
|
|
|
void process_message(char*, char*);
|
2012-08-29 12:45:44 +02:00
|
|
|
void get_setting(char*, char*);
|
2012-09-29 11:57:41 +02:00
|
|
|
void set_setting(char*, char*, char*);
|
2012-09-12 14:56:51 +02:00
|
|
|
bool parse_bool(char *, bool *);
|
2012-09-11 16:58:06 +02:00
|
|
|
bool parse_layout(char *, layout_t *);
|
2012-09-11 22:48:26 +02:00
|
|
|
bool parse_direction(char *, direction_t *);
|
2012-10-22 11:51:28 +02:00
|
|
|
bool parse_nearest_argument(char *, nearest_arg_t *);
|
2012-09-12 14:56:51 +02:00
|
|
|
bool parse_cycle_direction(char *, cycle_dir_t *);
|
2012-11-01 22:47:03 +01:00
|
|
|
bool parse_circulate_direction(char *, circulate_dir_t *);
|
2012-10-17 16:18:40 +02:00
|
|
|
bool parse_list_option(char *, list_option_t *);
|
2012-12-23 13:14:33 +01:00
|
|
|
bool parse_send_option(char *, send_option_t *);
|
2012-09-12 14:56:51 +02:00
|
|
|
bool parse_skip_client(char *, skip_client_t *);
|
2012-10-23 13:31:11 +02:00
|
|
|
bool parse_skip_desktop(char *, skip_desktop_t *);
|
2012-09-26 12:11:45 +02:00
|
|
|
bool parse_rotate(char *, rotate_t *);
|
2013-02-26 12:54:01 +01:00
|
|
|
bool parse_flip(char *, flip_t *);
|
2012-09-11 22:48:26 +02:00
|
|
|
bool parse_fence_move(char *, fence_move_t *);
|
2013-01-08 15:52:20 +01:00
|
|
|
bool parse_pointer_action(char *, pointer_action_t *);
|
2012-07-31 14:32:13 +02:00
|
|
|
|
|
|
|
#endif
|