| 1 | /* |
| 2 | * ezstream - source client for Icecast with external en-/decoder support |
| 3 | * Copyright (C) 2003, 2004, 2005, 2006 Ed Zaleski <[email protected]> |
| 4 | * Copyright (C) 2007, 2015 Moritz Grimm <[email protected]> |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License version 2 as |
| 8 | * published by the Free Software Foundation. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program; if not, write to the Free Software |
| 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 18 | */ |
| 19 | |
| 20 | #ifndef __EZCONFIG0_H__ |
| 21 | #define __EZCONFIG0_H__cxx . . $ `src/ezconfig0.h:21:9`! |
| 22 | |
| 23 | #define MP3_FORMATcxx . . $ `src/ezconfig0.h:23:9`! "MP3" |
| 24 | #define VORBIS_FORMATcxx . . $ `src/ezconfig0.h:24:9`! "VORBIS" |
| 25 | #define THEORA_FORMATcxx . . $ `src/ezconfig0.h:25:9`! "THEORA" |
| 26 | |
| 27 | #define MAX_FORMAT_ENCDECcxx . . $ `src/ezconfig0.h:27:9`! 15 |
| 28 | |
| 29 | #define TRACK_PLACEHOLDERcxx . . $ `src/ezconfig0.h:29:9`! "@T@" |
| 30 | #define METADATA_PLACEHOLDERcxx . . $ `src/ezconfig0.h:30:9`! "@M@" |
| 31 | #define ARTIST_PLACEHOLDERcxx . . $ `src/ezconfig0.h:31:9`! "@a@" |
| 32 | #define TITLE_PLACEHOLDERcxx . . $ `src/ezconfig0.h:32:9`! "@t@" |
| 33 | #define STRING_PLACEHOLDERcxx . . $ `src/ezconfig0.h:33:9`! "@s@" |
| 34 | |
| 35 | typedef struct tag_FORMAT_ENCDECcxx . . $ tag_FORMAT_ENCDEC# { |
| 36 | char *formatcxx . . $ tag_FORMAT_ENCDEC#format.; |
| 37 | char *matchcxx . . $ tag_FORMAT_ENCDEC#match.; |
| 38 | char *encodercxx . . $ tag_FORMAT_ENCDEC#encoder.; |
| 39 | char *decodercxx . . $ tag_FORMAT_ENCDEC#decoder.; |
| 40 | } FORMAT_ENCDECcxx . . $ FORMAT_ENCDEC#; |
| 41 | |
| 42 | typedef struct tag_EZCONFIGcxx . . $ tag_EZCONFIG# { |
| 43 | char *URLcxx . . $ tag_EZCONFIG#URL.; |
| 44 | char *usernamecxx . . $ tag_EZCONFIG#username.; |
| 45 | char *passwordcxx . . $ tag_EZCONFIG#password.; |
| 46 | char *formatcxx . . $ tag_EZCONFIG#format.; |
| 47 | char *fileNamecxx . . $ tag_EZCONFIG#fileName.; |
| 48 | char *metadataProgramcxx . . $ tag_EZCONFIG#metadataProgram.; |
| 49 | char *metadataFormatcxx . . $ tag_EZCONFIG#metadataFormat.; |
| 50 | char *serverNamecxx . . $ tag_EZCONFIG#serverName.; |
| 51 | char *serverURLcxx . . $ tag_EZCONFIG#serverURL.; |
| 52 | char *serverGenrecxx . . $ tag_EZCONFIG#serverGenre.; |
| 53 | char *serverDescriptioncxx . . $ tag_EZCONFIG#serverDescription.; |
| 54 | char *serverBitratecxx . . $ tag_EZCONFIG#serverBitrate.; |
| 55 | char *serverChannelscxx . . $ tag_EZCONFIG#serverChannels.; |
| 56 | char *serverSampleratecxx . . $ tag_EZCONFIG#serverSamplerate.; |
| 57 | char *serverQualitycxx . . $ tag_EZCONFIG#serverQuality.; |
| 58 | int serverPubliccxx . . $ tag_EZCONFIG#serverPublic.; |
| 59 | int reencodecxx . . $ tag_EZCONFIG#reencode.; |
| 60 | FORMAT_ENCDECcxx . . $ FORMAT_ENCDEC# *encoderDecoderscxx . . $ tag_EZCONFIG#encoderDecoders.[MAX_FORMAT_ENCDECcxx . . $ `src/ezconfig0.h:27:9`!]; |
| 61 | int numEncoderDecoderscxx . . $ tag_EZCONFIG#numEncoderDecoders.; |
| 62 | int shufflecxx . . $ tag_EZCONFIG#shuffle.; |
| 63 | int fileNameIsProgramcxx . . $ tag_EZCONFIG#fileNameIsProgram.; |
| 64 | int streamOncecxx . . $ tag_EZCONFIG#streamOnce.; |
| 65 | unsigned int reconnectAttemptscxx . . $ tag_EZCONFIG#reconnectAttempts.; |
| 66 | int metadataRefreshIntervalcxx . . $ tag_EZCONFIG#metadataRefreshInterval.; |
| 67 | } EZCONFIGcxx . . $ EZCONFIG#; |
| 68 | |
| 69 | EZCONFIGcxx . . $ EZCONFIG# * getEZConfigcxx . . $ getEZConfig(50f9941a0a2c49e7).(void); |
| 70 | const char * getFormatEncodercxx . . $ getFormatEncoder(fb58d2e09a2a1ce6).(const char *format); |
| 71 | const char * getFormatDecodercxx . . $ getFormatDecoder(fb58d2e09a2a1ce6).(const char *match); |
| 72 | int parseConfigcxx . . $ parseConfig(5c4306d8553b3696).(const char *fileName); |
| 73 | void freeConfigcxx . . $ freeConfig(18df6c5910674b29).(EZCONFIGcxx . . $ EZCONFIG# *); |
| 74 | |
| 75 | #endif /* __EZCONFIG0_H__ */ |