From 7b76a38dceb42997d22be9413d88e97ca41b7926 Mon Sep 17 00:00:00 2001 From: Murray Stokely Date: Wed, 8 Nov 2000 11:57:03 +0000 Subject: Added PROPERTY_MAX_VALUE and PROPERTY_MAX_NAME defines to libutil.h so that applications know how large of a buffer they must allocate before calling property_find(). Also added a $FreeBSD$ tag while I'm here. Approved by: jkh --- libutil/libutil.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libutil/libutil.h') diff --git a/libutil/libutil.h b/libutil/libutil.h index 18fb83f..4125b1a 100644 --- a/libutil/libutil.h +++ b/libutil/libutil.h @@ -31,6 +31,9 @@ #include +#define PROPERTY_MAX_NAME 64 +#define PROPERTY_MAX_VALUE 512 + /* for properties.c */ typedef struct _property { struct _property *next; -- cgit v1.2.3