/***   [bufmgr.h]
*
*	For GNU C Compiler (GCC)
*
***/

#ifndef _SIZE_T
#define _SIZE_T
typedef unsigned long size_t;
#endif /* _SIZE_T */

struct filestore_t {
	int		line;
	size_t	size;
	unsigned char	*buf1;
	size_t	*buf2;
};
struct bmgr_t {
	char	tabm, crm;
	struct filestore_t *fs;
	int line;
	int l;
	int r;
	int tab;
};
struct bmgrctype_t {
	int		l;
	unsigned short	lcode;
	int		r;
	unsigned short	rcode;
};

int	BMGR_set(const char *, int, int, struct filestore_t *);
int	BMGR_change(int, int, struct filestore_t *, int *);
void	BMGR_String(struct bmgr_t *, unsigned char *);
void	BMGR_ctype(struct bmgr_t *, struct bmgrctype_t *);
