1 /* fileconverter.h 2 * 3 * Copyright (C) 2008 Till Kamppeter <till.kamppeter@gmail.com> 4 * Copyright (C) 2008 Lars Uebernickel <larsuebernickel@gmx.de> 5 * 6 * This file is part of foomatic-rip. 7 * 8 * Foomatic-rip is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License as published by 10 * the Free Software Foundation; either version 2 of the License, or 11 * (at your option) any later version. 12 * 13 * Foomatic-rip is distributed in the hope that it will be useful, but 14 * WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * General Public License for more details. 17 * 18 * You should have received a copy of the GNU Lesser General Public 19 * License along with this library; if not, write to the 20 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 21 * Boston, MA 02111-1307, USA. 22 */ 23 24 #ifndef fileconverter_h 25 #define fileconverter_h 26 27 #include <unistd.h> 28 29 void set_fileconverter(const char *fc); 30 31 int close_fileconverter_handle(FILE *fileconverter_handle, pid_t fileconverter_pid); 32 void get_fileconverter_handle(const char *alreadyread, FILE **fd, pid_t *pid); 33 34 #endif 35 36