X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=grab_client.h;h=9550afbd0e56422fddf1ba015a5181f69ba7a080;hp=e66e9b2473fbad067742278dbaac5c6f770b7c28;hb=36df09fbcf3f6e80cc0990bad92ec16a0d1b2a00;hpb=2ed89c59f0efcd0a2763f47c7d3455663241e623 diff --git a/grab_client.h b/grab_client.h index e66e9b24..9550afbd 100644 --- a/grab_client.h +++ b/grab_client.h @@ -1,19 +1,7 @@ /* * Copyright (C) 2006 Andre Noll * - * 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);