bspwm/messages.h
2012-11-11 18:55:58 +01:00

25 lines
812 B
C

#ifndef _MESSAGES_H
#define _MESSAGES_H
#include "types.h"
#define TOK_SEP " "
void process_message(char*, char*);
void get_setting(char*, char*);
void set_setting(char*, char*, char*);
bool parse_bool(char *, bool *);
bool parse_layout(char *, layout_t *);
bool parse_direction(char *, direction_t *);
bool parse_nearest_argument(char *, nearest_arg_t *);
bool parse_cycle_direction(char *, cycle_dir_t *);
bool parse_circulate_direction(char *, circulate_dir_t *);
bool parse_list_option(char *, list_option_t *);
bool parse_skip_client(char *, skip_client_t *);
bool parse_skip_desktop(char *, skip_desktop_t *);
bool parse_rotate(char *, rotate_t *);
bool parse_fence_move(char *, fence_move_t *);
bool parse_modifier_mask(char *, unsigned int *);
void print_modifier_mask(char *, unsigned int);
#endif