void-packages/templates/rcorder/files/defs.h
Juan RP 7f403680eb Added rcorder-2009.01 template, taken from NetBSD HEAD.
--HG--
extra : convert_revision : 84eaf0c93bae0a069eb7a8e242d6c0e4b97af019
2009-03-05 19:39:23 +01:00

20 lines
471 B
C

#ifndef _DEFS_H_
#define _DEFS_H_
#include <stdio.h>
#include <stdlib.h>
#define FPARSELN_UNESCESC 0x01
#define FPARSELN_UNESCCONT 0x02
#define FPARSELN_UNESCCOMM 0x04
#define FPARSELN_UNESCREST 0x08
#define FPARSELN_UNESCALL 0x0f
char *fgetln(FILE *, size_t *);
char *fparseln(FILE *, size_t *, size_t *, const char [3], int);
void *emalloc(size_t);
char *estrdup(const char *);
void *erealloc(void *, size_t);
void *ecalloc(size_t, size_t);
#endif /* ! _DEFS_H_ */