X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fvalerie%2Fvalerie.h;h=3b5ead2dc7322879d0f452e5cdf4659565db1558;hb=728c83b4335c25e43f90eb5d4bab5b86107ca21c;hp=daa400bfb78fd53741812f3e62cd49ce822a7e11;hpb=2a2669b620e293e8963205c86606618789951eed;p=melted diff --git a/src/valerie/valerie.h b/src/valerie/valerie.h index daa400b..3b5ead2 100644 --- a/src/valerie/valerie.h +++ b/src/valerie/valerie.h @@ -3,19 +3,19 @@ * Copyright (C) 2002-2003 Ushodaya Enterprises Limited * Author: Charles Yates * - * 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 library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library 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. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser 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-1307, USA. + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _VALERIE_H_ @@ -122,7 +122,7 @@ extern valerie_error_code valerie_unit_set_out( valerie, int, int32_t ); extern valerie_error_code valerie_unit_clear_in( valerie, int ); extern valerie_error_code valerie_unit_clear_out( valerie, int ); extern valerie_error_code valerie_unit_clear_in_out( valerie, int ); -extern valerie_error_code valerie_unit_set( valerie, int, char *, char * ); +extern valerie_error_code valerie_unit_set( valerie, int, const char *, const char * ); extern valerie_error_code valerie_unit_get( valerie, int, char * ); extern valerie_error_code valerie_unit_status( valerie, int, valerie_status ); extern valerie_error_code valerie_unit_transfer( valerie, int, int ); @@ -153,7 +153,7 @@ typedef struct *valerie_dir_entry, valerie_dir_entry_t; /* Directory reading. */ -extern valerie_dir valerie_dir_init( valerie, char * ); +extern valerie_dir valerie_dir_init( valerie, const char * ); extern valerie_error_code valerie_dir_get_error_code( valerie_dir ); extern valerie_error_code valerie_dir_get( valerie_dir, int, valerie_dir_entry ); extern int valerie_dir_count( valerie_dir ); @@ -248,11 +248,11 @@ extern void valerie_units_close( valerie_units ); /* Miscellaenous functions */ extern valerie_response valerie_get_last_response( valerie ); -extern char *valerie_error_description( valerie_error_code ); +extern const char *valerie_error_description( valerie_error_code ); /* Courtesy functions. */ -extern valerie_error_code valerie_execute( valerie, size_t, char *, ... ); -extern valerie_error_code valerie_push( valerie, mlt_service, size_t, char *, ... ); +extern valerie_error_code valerie_execute( valerie, size_t, const char *, ... ); +extern valerie_error_code valerie_push( valerie, mlt_service, size_t, const char *, ... ); /* Close function. */ extern void valerie_close( valerie );