projmr/Library/cueparser.h

47 lines
1.2 KiB
C

/*
* cueparser.h
*
* Copyright 2025
*
* 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., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*
*
*/
#if !defined(__CUEPARSER_H__)
#define __CUEPARSER_H__
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <ctype.h>
#include "../Library/logger.h"
#define CUE_FILE_MAX_VARNAME_LEN 16
#define PROJMR_TEMPLATES_PATH "Templates"
#define PROJMR_CATALOG_NEW "/"
typedef struct {
FILE* input;
FILE* output;
} cue_parse_result_t;
cue_parse_result_t* cue_parse_file(char* buf, char* name);
#endif /* __CUEPARSER_H__ */