diff options
Diffstat (limited to 'src/command.h')
-rw-r--r-- | src/command.h | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/src/command.h b/src/command.h index 15e8e1f..d952cd8 100644 --- a/src/command.h +++ b/src/command.h @@ -34,41 +34,41 @@ enum { COMMAND_ZOOM_RESET = (1<<2) }; -typedef gboolean (*Command)(const Arg* arg); +typedef gboolean (*Command)(const Arg *arg); typedef struct { - const char* name; - Command function; - const Arg arg; /* arguments to call the command with */ + const char *name; + Command function; + const Arg arg; /* arguments to call the command with */ } CommandInfo; void command_init(void); void command_cleanup(void); -gboolean command_exists(const char* name); -gboolean command_run(const char* name, const char* param); +gboolean command_exists(const char *name); +gboolean command_run(const char *name, const char *param); -gboolean command_open(const Arg* arg); -gboolean command_open_home(const Arg* arg); -gboolean command_open_closed(const Arg* arg); -gboolean command_input(const Arg* arg); -gboolean command_close(const Arg* arg); -gboolean command_view_source(const Arg* arg); -gboolean command_navigate(const Arg* arg); -gboolean command_scroll(const Arg* arg); -gboolean command_map(const Arg* arg); -gboolean command_unmap(const Arg* arg); -gboolean command_set(const Arg* arg); -gboolean command_complete(const Arg* arg); -gboolean command_inspect(const Arg* arg); -gboolean command_hints(const Arg* arg); -gboolean command_hints_focus(const Arg* arg); -gboolean command_yank(const Arg* arg); -gboolean command_paste(const Arg* arg); -gboolean command_search(const Arg* arg); -gboolean command_searchengine(const Arg* arg); -gboolean command_searchengine_default(const Arg* arg); -gboolean command_zoom(const Arg* arg); -gboolean command_history(const Arg* arg); +gboolean command_open(const Arg *arg); +gboolean command_open_home(const Arg *arg); +gboolean command_open_closed(const Arg *arg); +gboolean command_input(const Arg *arg); +gboolean command_close(const Arg *arg); +gboolean command_view_source(const Arg *arg); +gboolean command_navigate(const Arg *arg); +gboolean command_scroll(const Arg *arg); +gboolean command_map(const Arg *arg); +gboolean command_unmap(const Arg *arg); +gboolean command_set(const Arg *arg); +gboolean command_complete(const Arg *arg); +gboolean command_inspect(const Arg *arg); +gboolean command_hints(const Arg *arg); +gboolean command_hints_focus(const Arg *arg); +gboolean command_yank(const Arg *arg); +gboolean command_paste(const Arg *arg); +gboolean command_search(const Arg *arg); +gboolean command_searchengine(const Arg *arg); +gboolean command_searchengine_default(const Arg *arg); +gboolean command_zoom(const Arg *arg); +gboolean command_history(const Arg *arg); #endif /* end of include guard: _COMMAND_H */ |