Menu

[7c54b3]: / joe / builtin.h  Maximize  Restore  History

Download this file

28 lines (18 with data), 535 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* Support for built-in config files */
#ifndef JOEWIN
struct jfile {
FILE *f; /* Regular file, or NULL for built-in */
const char *p; /* Built-in file pointer */
};
JFILE *jfopen(const char *name, const char *mode);
char *jfgets(char **buf,JFILE *f);
int jfclose(JFILE *f);
char **jgetbuiltins(const char *suffix);
extern const char *builtins[];
#else
#include "jwbuiltin.h"
JFILE *jfopen(char *name, const char *mode);
char *jfgets(char **buf, JFILE *f);
char **jgetbuiltins(char *suffix);
#define jfclose jwfclose
#endif
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.