=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sndiod/utils.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- src/usr.bin/sndiod/utils.h 2013/05/12 04:58:41 1.3 +++ src/usr.bin/sndiod/utils.h 2019/09/21 04:42:46 1.4 @@ -1,4 +1,4 @@ -/* $OpenBSD: utils.h,v 1.3 2013/05/12 04:58:41 ratchov Exp $ */ +/* $OpenBSD: utils.h,v 1.4 2019/09/21 04:42:46 ratchov Exp $ */ /* * Copyright (c) 2003-2012 Alexandre Ratchov * @@ -20,6 +20,11 @@ #include +struct name { + struct name *next; + char str[]; +}; + void log_puts(char *); void log_putx(unsigned long); void log_putu(unsigned long); @@ -30,6 +35,9 @@ void *xmalloc(size_t); char *xstrdup(char *); void xfree(void *); + +void namelist_add(struct name **, char *); +void namelist_clear(struct name **); /* * Log levels: