=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sndiod/dev.h,v retrieving revision 1.26 retrieving revision 1.27 diff -c -r1.26 -r1.27 *** src/usr.bin/sndiod/dev.h 2020/06/12 15:40:18 1.26 --- src/usr.bin/sndiod/dev.h 2020/06/18 05:11:13 1.27 *************** *** 1,4 **** ! /* $OpenBSD: dev.h,v 1.26 2020/06/12 15:40:18 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov * --- 1,4 ---- ! /* $OpenBSD: dev.h,v 1.27 2020/06/18 05:11:13 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov * *************** *** 209,215 **** #define DEV_INIT 1 /* stopped */ #define DEV_RUN 2 /* playin & recording */ unsigned int pstate; /* one of above */ ! struct name *path_list; /* * actual parameters and runtime state (i.e. once opened) --- 209,220 ---- #define DEV_INIT 1 /* stopped */ #define DEV_RUN 2 /* playin & recording */ unsigned int pstate; /* one of above */ ! struct dev_alt { ! struct dev_alt *next; ! char *name; ! unsigned int idx; ! } *alt_list; ! int alt_num; /* * actual parameters and runtime state (i.e. once opened) *************** *** 265,270 **** --- 270,276 ---- struct dev *dev_new(char *, struct aparams *, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int); struct dev *dev_bynum(int); + int dev_addname(struct dev *, char *); void dev_del(struct dev *); void dev_adjpar(struct dev *, int, int, int); int dev_init(struct dev *);