chiark / gitweb /
Don't keep audio files open except when they are actually being read
[disorder] / lib / event.h
index 5b312a3374a55d9ad0a2dae7c4f2affc6cad25f9..113666c8fd4106de9278fbe1b0830d4a814b5d5e 100644 (file)
@@ -15,7 +15,9 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-
+/** @file lib/event.h
+ * @brief DisOrder event loop
+ */
 #ifndef EVENT_H
 #define EVENT_H
 
@@ -137,6 +139,8 @@ int ev_child_cancel(ev_source *ev,
                    pid_t pid);
 /* cancel a child callback. */
 
+void ev_child_killall(ev_source *ev);
+
 /* socket listeners ***********************************************************/
 
 typedef int ev_listen_callback(ev_source *ev,