File: builtin.h

package info (click to toggle)
jupp 3.1.38-1~bpo9+1
  • links: PTS, VCS
  • area: main
  • in suites: stretch-backports
  • size: 2,424 kB
  • sloc: ansic: 31,382; sh: 4,199; makefile: 432
file content (16 lines) | stat: -rw-r--r-- 500 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifdef EXTERN_RC_C
__IDSTRING(rcsid_builtin_h, "$MirOS: contrib/code/jupp/builtin.h,v 1.6 2018/01/08 00:08:18 tg Exp $");
#endif

/* Support for built-in config files */

typedef struct jfile {
	FILE *f;		/* Regular file, or NULL for built-in */
	const unsigned char *p;	/* Built-in file pointer */
} JFILE;

JFILE *jfopen(const unsigned char *name, const char *mode);
unsigned char *jfgets(unsigned char *buf,int len,JFILE *f);
int jfclose(JFILE *f);

extern const unsigned char * const builtins[];