1998-01-09 06:15:09 +03:00
|
|
|
/* $NetBSD: lib_strbuf.c,v 1.3 1998/01/09 03:16:16 perry Exp $ */
|
|
|
|
|
1997-04-18 17:22:49 +04:00
|
|
|
/*
|
|
|
|
* lib_strbuf - library string storage
|
|
|
|
*/
|
|
|
|
|
1997-10-09 15:24:59 +04:00
|
|
|
#include <sys/cdefs.h>
|
|
|
|
|
1997-04-18 17:22:49 +04:00
|
|
|
#include "lib_strbuf.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Storage declarations
|
|
|
|
*/
|
|
|
|
char lib_stringbuf[LIB_NUMBUFS][LIB_BUFLENGTH];
|
|
|
|
int lib_nextbuf;
|
|
|
|
int lib_inited = 0;
|
|
|
|
|
1997-10-09 15:24:59 +04:00
|
|
|
void init_lib __P((void));
|
|
|
|
|
1997-04-18 17:22:49 +04:00
|
|
|
/*
|
|
|
|
* initialization routine. Might be needed if the code is ROMized.
|
|
|
|
*/
|
|
|
|
void
|
|
|
|
init_lib()
|
|
|
|
{
|
|
|
|
lib_nextbuf = 0;
|
|
|
|
lib_inited = 1;
|
|
|
|
}
|