=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sndiod/midi.h,v retrieving revision 1.9 retrieving revision 1.10 diff -c -r1.9 -r1.10 *** src/usr.bin/sndiod/midi.h 2019/08/29 07:11:28 1.9 --- src/usr.bin/sndiod/midi.h 2019/09/21 04:42:46 1.10 *************** *** 1,4 **** ! /* $OpenBSD: midi.h,v 1.9 2019/08/29 07:11:28 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov * --- 1,4 ---- ! /* $OpenBSD: midi.h,v 1.10 2019/09/21 04:42:46 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov * *************** *** 88,94 **** #define PORT_DRAIN 2 unsigned int state; unsigned int num; /* port serial number */ ! char *path; int hold; /* hold the port open ? */ struct midi *midi; }; --- 88,94 ---- #define PORT_DRAIN 2 unsigned int state; unsigned int num; /* port serial number */ ! struct name *path_list; int hold; /* hold the port open ? */ struct midi *midi; }; *************** *** 121,125 **** --- 121,126 ---- void port_done(struct port *); void port_drain(struct port *); int port_close(struct port *); + int port_reopen(struct port *); #endif /* !defined(MIDI_H) */