diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-06-30 02:12:58 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-06-30 02:12:58 +0000 |
commit | 44b0c22175e11d9ff38b0894365e03c886c4666a (patch) | |
tree | 619bfb6126b3d21e63d035072fba2c1511fedd71 /sbin/wsconsctl/wsconsctl.h | |
parent | 6bb0905cce6d7e15db395fa110acd0589c12d78f (diff) |
make it more sysctl-like, ommit -kmd switches.
no backwards compatibility keeped.
add ability to change screens from cmd line.
Diffstat (limited to 'sbin/wsconsctl/wsconsctl.h')
-rw-r--r-- | sbin/wsconsctl/wsconsctl.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/sbin/wsconsctl/wsconsctl.h b/sbin/wsconsctl/wsconsctl.h index fc8568b7995..ab639cbc184 100644 --- a/sbin/wsconsctl/wsconsctl.h +++ b/sbin/wsconsctl/wsconsctl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wsconsctl.h,v 1.2 2001/05/08 22:31:09 mickey Exp $ */ +/* $OpenBSD: wsconsctl.h,v 1.3 2001/06/30 02:12:57 mickey Exp $ */ /* $NetBSD: wsconsctl.h 1.1 1998/12/28 14:01:17 hannken Exp $ */ /*- @@ -59,20 +59,19 @@ struct field { int flags; }; -void field_setup __P((struct field *, int)); -struct field *field_by_name __P((char *)); -struct field *field_by_value __P((void *)); -void pr_field __P((struct field *, char *)); +struct field *field_by_name __P((struct field *, char *)); +struct field *field_by_value __P((struct field *, void *)); +void pr_field __P((const char *, struct field *, const char *)); void rd_field __P((struct field *, char *, int)); int name2ksym __P((char *)); char *ksym2name __P((int)); keysym_t ksym_upcase __P((keysym_t)); -void keyboard_get_values __P((int)); -void keyboard_put_values __P((int)); -void mouse_get_values __P((int)); -void mouse_put_values __P((int)); -void display_get_values __P((int)); -void display_put_values __P((int)); +void keyboard_get_values __P((const char *,int)); +void keyboard_put_values __P((const char *,int)); +void mouse_get_values __P((const char *,int)); +void mouse_put_values __P((const char *,int)); +void display_get_values __P((const char *,int)); +void display_put_values __P((const char *,int)); int yyparse __P((void)); void yyerror __P((char *)); int yylex __P((void)); |