=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sndiod/midi.h,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- src/usr.bin/sndiod/midi.h 2021/01/28 11:17:58 1.14 +++ src/usr.bin/sndiod/midi.h 2021/11/01 14:43:25 1.15 @@ -1,4 +1,4 @@ -/* $OpenBSD: midi.h,v 1.14 2021/01/28 11:17:58 ratchov Exp $ */ +/* $OpenBSD: midi.h,v 1.15 2021/11/01 14:43:25 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov * @@ -89,7 +89,8 @@ #define PORT_DRAIN 2 unsigned int state; unsigned int num; /* port serial number */ - struct name *path_list; + char *path; + struct port *alt_next; int hold; /* hold the port open ? */ struct midi *midi; }; @@ -113,6 +114,7 @@ unsigned int midi_tags(struct midi *); void midi_link(struct midi *, struct midi *); void midi_abort(struct midi *); +void midi_migrate(struct midi *, struct midi *); void port_log(struct port *); struct port *port_new(char *, unsigned int, int); @@ -124,6 +126,7 @@ void port_done(struct port *); void port_drain(struct port *); int port_close(struct port *); -int port_reopen(struct port *); +struct port *port_alt_ref(int); +struct port *port_migrate(struct port *); #endif /* !defined(MIDI_H) */