2 Debian patches touch this file
-
New patch generated from rplay 3.3.2-12 diff.gz
- Author
- Sandro Tosi <[email protected]>
-
make it compile with gcc15
| 1 | /* $Id: helper.h,v 1.4 1999/06/09 06:27:44 boyns Exp $ */ |
| 2 | |
| 3 | /* |
| 4 | * Copyright (C) 1993-99 Mark R. Boyns <[email protected]> |
| 5 | * |
| 6 | * This file is part of rplay. |
| 7 | * |
| 8 | * rplay 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 | * rplay is distributed in the hope that it will be useful, |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | * GNU General Public License for more details. |
| 17 | * |
| 18 | * You should have received a copy of the GNU General Public License |
| 19 | * along with rplay; see the file COPYING. If not, write to the |
| 20 | * Free Software Foundation, Inc., |
| 21 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. |
| 22 | */ |
| 23 | |
| 24 | #ifndef _helper_h |
| 25 | #define _helper_h |
| 26 | |
| 27 | #ifdef HAVE_HELPERS |
| 28 | |
| •29 | #ifdef HAVE_REGEX_H |
| 30 | #include <regex.h> |
| 31 | #else |
| 32 | #ifdef HAVE_RX_RXPOSIX_H |
| 33 | #include <rx/rxposix.h> |
| 34 | #else |
| 35 | #ifdef HAVE_RXPOSIX_H |
| 36 | #include <rxposix.h> |
| 37 | #else |
| 38 | #include "rxposix.h" |
| 39 | #endif |
| 40 | #endif |
| •41 | #endif |
| 42 | |
| 43 | typedef struct _helper |
| 44 | { |
| 45 | struct _helper *next; |
| 46 | regex_t pattern; |
| 47 | char *program; |
| 48 | int format; |
| 49 | int sample_rate; |
| 50 | int precision; |
| 51 | int channels; |
| 52 | int byte_order; |
| 53 | } |
| 54 | HELPER; |
| 55 | |
| 56 | extern HELPER *helpers; |
| 57 | |
| •58 | extern void helper_read (char *filename); |
| 59 | extern void helper_stat (char *filename); |
| 60 | extern HELPER *helper_lookup (char *sound); |
| 61 | |
| 62 | #endif /* HAVE_HELPERS */ |
| 63 | #endif /* _helper_h */ |