afs.c: Get rid of unregister_tasks().
[paraslash.git] / grab_client.h
index e66e9b2473fbad067742278dbaac5c6f770b7c28..9550afbd0e56422fddf1ba015a5181f69ba7a080 100644 (file)
@@ -1,19 +1,7 @@
 /*
  * Copyright (C) 2006 Andre Noll <maan@systemlinux.org>
  *
- *     This program is free software; you can redistribute it and/or modify
- *     it under the terms of the GNU General Public License as published by
- *     the Free Software Foundation; either version 2 of the License, or
- *     (at your option) any later version.
- *
- *     This program is distributed in the hope that it will be useful,
- *     but WITHOUT ANY WARRANTY; without even the implied warranty of
- *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *     GNU General Public License for more details.
- *
- *     You should have received a copy of the GNU General Public License
- *     along with this program; if not, write to the Free Software
- *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+ * Licensed under the GPL v2. For licencing details see COPYING.
  */
 
 /** \file grab_client.h exported symbols from grab_client.c */
@@ -27,7 +15,7 @@
  * - aggressive: write anyway (default)
  *
  */
-enum grab_mode {GRAB_PEDANTIC, GRAB_SLOPPY, GRAB_AGGRESSIVE};
+enum grab_mode {GRAB_SLOPPY, GRAB_AGGRESSIVE, GRAB_PEDANTIC};
 
 /** describes one active grab client
  *
@@ -54,7 +42,7 @@ struct grab_client {
        char **argv;
 };
 
-__malloc struct grab_client *grab_client_new(int fd, int argc, char **argv, int *err);
+__malloc struct grab_client *grab_client_new(int fd, char *line, int *err);
 void activate_inactive_grab_clients(int slot, int audio_format_num, struct list_head *filter_list);
 void activate_grab_client(struct grab_client *gc, struct filter_node *fn);
 void init_grabbing(void);