summaryrefslogtreecommitdiff
path: root/usr.bin/aucat/opt.h
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2010-04-03 17:59:18 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2010-04-03 17:59:18 +0000
commit535d5e0dba3ec190956fd50c876d8f0d37a44e60 (patch)
treea90e982674c49f8ccd6a4ba1b54c0ca7ca450896 /usr.bin/aucat/opt.h
parent1f1e75a96689e478cf3357f495812c131cb352f9 (diff)
backout last change, committed by mistake, sorry...
Diffstat (limited to 'usr.bin/aucat/opt.h')
-rw-r--r--usr.bin/aucat/opt.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/usr.bin/aucat/opt.h b/usr.bin/aucat/opt.h
index 3572d560397..875f0537601 100644
--- a/usr.bin/aucat/opt.h
+++ b/usr.bin/aucat/opt.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: opt.h,v 1.3 2010/04/03 17:40:33 ratchov Exp $ */
+/* $OpenBSD: opt.h,v 1.4 2010/04/03 17:59:17 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -28,18 +28,11 @@ struct opt {
struct aparams wpar; /* template for clients write params */
struct aparams rpar; /* template for clients read params */
int mmc; /* true if MMC control enabled */
-#define MODE_PLAY 0x1 /* allowed to play */
-#define MODE_REC 0x2 /* allowed to rec */
-#define MODE_MIDIIN 0x4 /* allowed to read midi */
-#define MODE_MIDIOUT 0x8 /* allowed to write midi */
-#define MODE_MON 0x10 /* allowed to monitor */
-#define MODE_RECMASK (MODE_REC | MODE_MON)
- unsigned mode; /* bitmap of above */
};
SLIST_HEAD(optlist,opt);
-void opt_new(char *, struct aparams *, struct aparams *, int, int, unsigned);
+void opt_new(char *, struct aparams *, struct aparams *, int, int);
struct opt *opt_byname(char *);
#endif /* !defined(OPT_H) */