File: lib_strbuf.h

package info (click to toggle)
ntpsec 1.2.3%2Bdfsg1-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,960 kB
  • sloc: ansic: 62,004; python: 32,017; sh: 1,553; yacc: 1,293; makefile: 190; javascript: 138
file content (19 lines) | stat: -rw-r--r-- 386 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * lib_strbuf.h - definitions for routines which use the common string buffers
 */
#ifndef GUARD_LIB_STRBUF_H
#define GUARD_LIB_STRBUF_H

#include "ntp_types.h"
#include "ntp_malloc.h"			/* for ZERO() */

/*
 * Sizes of things
 */
#define LIB_NUMBUF	16
#define	LIB_BUFLENGTH	128

typedef char libbufstr[LIB_BUFLENGTH];
extern char *lib_getbuf(void);

#endif	/* GUARD_LIB_STRBUF_H */