diff options
author | sabetts <sabetts> | 2001-03-19 08:35:36 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2001-03-19 08:35:36 +0000 |
commit | 23494269d7fb6bec696f305caa79a683ceb4bcbd (patch) | |
tree | dda073b707af449b62cf8329c587cac95e419e35 /src/communications.h | |
parent | 7604e8eabbcc2e6142f7b3d75d38880044dd63f7 (diff) | |
download | ratpoison-23494269d7fb6bec696f305caa79a683ceb4bcbd.zip |
* src/main.c (ratpoison_longopts): add --command to recognized
command-line options.
* src/communications.h (send_command): new function prototype
* src/data.h (rp_command): new global variable
* src/events.c (receive_command): new function
(property_notify): handles rp_command Atoms
* src/communications.c (send_command): new function
* src/main.c (print_help): prints help for --command
(main): handles --command command-line option
Diffstat (limited to 'src/communications.h')
-rw-r--r-- | src/communications.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/communications.h b/src/communications.h index e88e17b..ade37ac 100644 --- a/src/communications.h +++ b/src/communications.h @@ -24,5 +24,6 @@ void send_kill (); void send_restart (); +int send_command (unsigned char *cmd); #endif /* ! _RATPOISON_COMMUNICATIONS_H */ |