/* vattr.h - Definitions for user-defined attributes */
/* $Id: vattr.h,v 1.7 2002/08/28 15:24:09 rmg Exp $ */
#include "copyright.h"
#ifndef __VATTR_H
#define __VATTR_H
#ifndef VATTR_HASH_SIZE /* must be a power of two */
#define VATTR_HASH_SIZE 8192
#endif
#define VNAME_SIZE 32
typedef struct user_attribute VATTR;
struct user_attribute {
char *name; /* Name of user attribute */
int number; /* Assigned attribute number */
int flags; /* Attribute flags */
};
extern void NDECL(vattr_init);
extern VATTR * FDECL(vattr_rename, (char *, char *));
extern VATTR * FDECL(vattr_find, (char *));
extern VATTR * FDECL(vattr_alloc, (char *, int));
extern VATTR * FDECL(vattr_define, (char *, int, int));
extern void FDECL(vattr_delete, (char *));
extern VATTR * NDECL(vattr_first);
extern VATTR * FDECL(vattr_next, (VATTR *));
#endif /* __VATTR_H */