Move c/h files implementing/defining standard library stuff into a new libc directory...
[kugel-rb.git] / apps / plugins / zxbox / zxmisc.h
blob904af24e3da94288b37445018f98a52725ff4638
1 /*
2 * Copyright (C) 1996-1998 Szeredi Miklos
3 * Email: mszeredi@inf.bme.hu
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version. See the file COPYING.
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.
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., 675 Mass Ave, Cambridge, MA 02139, USA.
21 #ifndef ZXMISC_H
22 #define ZXMISC_H
24 #include <string.h> /* size_t */
26 extern char *get_base_name(char *fname);
27 extern int check_ext(const char *filename, const char *ext);
28 extern void add_extension(char *filename, const char *ext);
29 extern int file_exist(const char *filename);
30 extern int try_extension(char *filename, const char *ext);
31 extern char *spif_get_tape_fileinfo(int *startp, int *nump);
32 extern void *malloc_err(size_t size);
33 extern char *make_string(char *ostr, const char *nstr);
34 extern void free_string(char *ostr);
36 extern int mis_strcasecmp(const char *s1, const char *s2);
38 #endif /* ZXMISC_H */