summaryrefslogtreecommitdiff
path: root/src/actions.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2003-04-07 00:23:42 +0000
committersabetts <sabetts>2003-04-07 00:23:42 +0000
commit3aff4f30deb65c535427bc145c2a11a87d4332ac (patch)
tree15e4848c3705d9ea43b7810556c0935411d452c3 /src/actions.h
parent0034ffb7605fdb3f569e98aca86097f6e480fa8b (diff)
downloadratpoison-3aff4f30deb65c535427bc145c2a11a87d4332ac.zip
* src/actions.h: All cmd_* functions take char* instead of
void*. All callers updated. * src/actions.c (cmd_number): update any frames pointing to the windows that have changed.
Diffstat (limited to 'src/actions.h')
-rw-r--r--src/actions.h166
1 files changed, 83 insertions, 83 deletions
diff --git a/src/actions.h b/src/actions.h
index 0b0972a..7fc4cf5 100644
--- a/src/actions.h
+++ b/src/actions.h
@@ -33,95 +33,95 @@ struct
user_command
{
char *name;
- char * (*func)(int, void *);
+ char * (*func)(int, char *);
int argtype;
};
-int spawn(void *data);
+int spawn(char *data);
char * command (int interactive, char *data);
-char *cmd_abort (int interactive, void *data);
-char *cmd_alias (int interactive, void *data);
-char *cmd_banish (int interactive, void *data);
-char *cmd_bind (int interactive, void* data);
-char *cmd_chdir (int interactive, void *data);
-char *cmd_colon (int interactive, void *data);
-char *cmd_curframe (int interactive, void *data);
-char *cmd_defbarborder (int interactive, void *data);
-char *cmd_defbargravity (int interactive, void *data);
-char *cmd_defbarpadding (int interactive, void *data);
-char *cmd_defbgcolor (int interactive, void *data);
-char *cmd_defborder (int interactive, void *data);
-char *cmd_deffgcolor (int interactive, void *data);
-char *cmd_deffont (int interactive, void *data);
-char *cmd_definputwidth (int interactive, void *data);
-char *cmd_defmaxsizegravity (int interactive, void *data);
-char *cmd_defpadding (int interactive, void *data);
-char *cmd_defresizeunit (int interactive, void *data);
-char *cmd_deftransgravity (int interactive, void *data);
-char *cmd_defwaitcursor (int interactive, void *data);
-char *cmd_defwinfmt (int interactive, void *data);
-char *cmd_defwingravity (int interactive, void *data);
-char *cmd_defwinliststyle (int interactive, void *data);
-char *cmd_defwinname (int interactive, void *data);
-char *cmd_delete (int interactive, void *data);
-char *cmd_echo (int interactive, void *data);
-char *cmd_escape (int interactive, void *data);
-char *cmd_exec (int interactive, void *data);
-char *cmd_fdump (int interactively, void *data);
-char *cmd_focusdown (int interactive, void *data);
-char *cmd_focuslast (int interactive, void *data);
-char *cmd_focusleft (int interactive, void *data);
-char *cmd_focusright (int interactive, void *data);
-char *cmd_focusup (int interactive, void *data);
-char *cmd_frestore (int interactively, void *data);
-char *cmd_fselect (int interactive, void *data);
-char *cmd_getenv (int interactive, void *data);
-char *cmd_gravity (int interactive, void *data);
-char *cmd_h_split (int interactive, void *data);
-char *cmd_help (int interactive, void *data);
-char *cmd_info (int interactive, void *data);
-char *cmd_kill (int interactive, void *data);
-char *cmd_last (int interactive, void *data);
-char *cmd_lastmsg (int interactive, void *data);
-char *cmd_license (int interactive, void *data);
-char *cmd_link (int interactive, void *data);
-char *cmd_meta (int interactive, void *data);
-char *cmd_msgwait (int interactive, void *data);
-char *cmd_newwm(int interactive, void *which);
-char *cmd_next (int interactive, void *data);
-char *cmd_next_frame (int interactive, void *data);
-char *cmd_nextscreen (int interactive, void *data);
-char *cmd_number (int interactive, void *data);
-char *cmd_only (int interactive, void *data);
-char *cmd_other (int interactive, void *data);
-char *cmd_prev (int interactive, void *data);
-char *cmd_prev_frame (int interactive, void *data);
-char *cmd_prevscreen (int interactive, void *data);
-char *cmd_quit(int interactive, void *data);
-char *cmd_redisplay (int interactive, void *data);
-char *cmd_remove (int interactive, void *data);
-char *cmd_rename (int interactive, void *data);
-char *cmd_resize (int interactive, void *data);
-char *cmd_restart (int interactive, void *data);
-char *cmd_rudeness (int interactive, void *data);
-char *cmd_select (int interactive, void *data);
-char *cmd_setenv (int interactive, void *data);
-char *cmd_shrink (int interactive, void *data);
-char *cmd_source (int interactive, void* data);
-char *cmd_startup_message (int interactive, void *data);
-char *cmd_time (int interactive, void *data);
-char *cmd_tmpwm (int interactive, void *data);
+char *cmd_abort (int interactive, char *data);
+char *cmd_alias (int interactive, char *data);
+char *cmd_banish (int interactive, char *data);
+char *cmd_bind (int interactive, char *data);
+char *cmd_chdir (int interactive, char *data);
+char *cmd_colon (int interactive, char *data);
+char *cmd_curframe (int interactive, char *data);
+char *cmd_defbarborder (int interactive, char *data);
+char *cmd_defbargravity (int interactive, char *data);
+char *cmd_defbarpadding (int interactive, char *data);
+char *cmd_defbgcolor (int interactive, char *data);
+char *cmd_defborder (int interactive, char *data);
+char *cmd_deffgcolor (int interactive, char *data);
+char *cmd_deffont (int interactive, char *data);
+char *cmd_definputwidth (int interactive, char *data);
+char *cmd_defmaxsizegravity (int interactive, char *data);
+char *cmd_defpadding (int interactive, char *data);
+char *cmd_defresizeunit (int interactive, char *data);
+char *cmd_deftransgravity (int interactive, char *data);
+char *cmd_defwaitcursor (int interactive, char *data);
+char *cmd_defwinfmt (int interactive, char *data);
+char *cmd_defwingravity (int interactive, char *data);
+char *cmd_defwinliststyle (int interactive, char *data);
+char *cmd_defwinname (int interactive, char *data);
+char *cmd_delete (int interactive, char *data);
+char *cmd_echo (int interactive, char *data);
+char *cmd_escape (int interactive, char *data);
+char *cmd_exec (int interactive, char *data);
+char *cmd_fdump (int interactively, char *data);
+char *cmd_focusdown (int interactive, char *data);
+char *cmd_focuslast (int interactive, char *data);
+char *cmd_focusleft (int interactive, char *data);
+char *cmd_focusright (int interactive, char *data);
+char *cmd_focusup (int interactive, char *data);
+char *cmd_frestore (int interactively, char *data);
+char *cmd_fselect (int interactive, char *data);
+char *cmd_getenv (int interactive, char *data);
+char *cmd_gravity (int interactive, char *data);
+char *cmd_h_split (int interactive, char *data);
+char *cmd_help (int interactive, char *data);
+char *cmd_info (int interactive, char *data);
+char *cmd_kill (int interactive, char *data);
+char *cmd_last (int interactive, char *data);
+char *cmd_lastmsg (int interactive, char *data);
+char *cmd_license (int interactive, char *data);
+char *cmd_link (int interactive, char *data);
+char *cmd_meta (int interactive, char *data);
+char *cmd_msgwait (int interactive, char *data);
+char *cmd_newwm(int interactive, char *which);
+char *cmd_next (int interactive, char *data);
+char *cmd_next_frame (int interactive, char *data);
+char *cmd_nextscreen (int interactive, char *data);
+char *cmd_number (int interactive, char *data);
+char *cmd_only (int interactive, char *data);
+char *cmd_other (int interactive, char *data);
+char *cmd_prev (int interactive, char *data);
+char *cmd_prev_frame (int interactive, char *data);
+char *cmd_prevscreen (int interactive, char *data);
+char *cmd_quit(int interactive, char *data);
+char *cmd_redisplay (int interactive, char *data);
+char *cmd_remove (int interactive, char *data);
+char *cmd_rename (int interactive, char *data);
+char *cmd_resize (int interactive, char *data);
+char *cmd_restart (int interactive, char *data);
+char *cmd_rudeness (int interactive, char *data);
+char *cmd_select (int interactive, char *data);
+char *cmd_setenv (int interactive, char *data);
+char *cmd_shrink (int interactive, char *data);
+char *cmd_source (int interactive, char *data);
+char *cmd_startup_message (int interactive, char *data);
+char *cmd_time (int interactive, char *data);
+char *cmd_tmpwm (int interactive, char *data);
char *cmd_togglewrapwinlist ();
-char *cmd_unalias (int interactive, void *data);
-char *cmd_unbind (int interactive, void *data);
-char *cmd_unimplemented (int interactive, void *data);
-char *cmd_unsetenv (int interactive, void *data);
-char *cmd_v_split (int interactive, void *data);
-char *cmd_verbexec (int interactive, void *data);
-char *cmd_version (int interactive, void *data);
-char *cmd_warp(int interactive, void *data);
-char *cmd_windows (int interactive, void *data);
+char *cmd_unalias (int interactive, char *data);
+char *cmd_unbind (int interactive, char *data);
+char *cmd_unimplemented (int interactive, char *data);
+char *cmd_unsetenv (int interactive, char *data);
+char *cmd_v_split (int interactive, char *data);
+char *cmd_verbexec (int interactive, char *data);
+char *cmd_version (int interactive, char *data);
+char *cmd_warp(int interactive, char *data);
+char *cmd_windows (int interactive, char *data);
void initialize_default_keybindings (void);
void free_keybindings ();