2000-04-17 09:49:11 +04:00
|
|
|
/* $NetBSD: lib_strbuf.c,v 1.2 2000/04/17 05:49:11 simonb Exp $ */
|
2000-03-29 16:38:44 +04:00
|
|
|
|
|
|
|
/*
|
|
|
|
* lib_strbuf - library string storage
|
|
|
|
*/
|
|
|
|
|
2000-04-17 09:49:11 +04:00
|
|
|
#include "ntp_stdlib.h"
|
2000-03-29 16:38:44 +04:00
|
|
|
#include "lib_strbuf.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Storage declarations
|
|
|
|
*/
|
|
|
|
char lib_stringbuf[LIB_NUMBUFS][LIB_BUFLENGTH];
|
|
|
|
int lib_nextbuf;
|
|
|
|
int lib_inited = 0;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* initialization routine. Might be needed if the code is ROMized.
|
|
|
|
*/
|
|
|
|
void
|
|
|
|
init_lib(void)
|
|
|
|
{
|
|
|
|
lib_nextbuf = 0;
|
|
|
|
lib_inited = 1;
|
|
|
|
}
|