prototypes from misc.c

add defintion of ALLOC


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3412 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-09-07 23:19:21 +00:00
parent 9d4e3d32c9
commit 0f8e49e5cf

View File

@@ -113,4 +113,12 @@ void set_password(hdb_entry *ent);
time_t getlife(const char *prompt, const char *def);
size_t putlife(time_t t, char *s, size_t len);
/* misc.c */
void set_master_key(EncryptionKey key);
Key *unseal_key(Key *key);
void seal_key(Key *key);
#define ALLOC(X) ((X) = malloc(sizeof(*(X))))
#endif /* __ADMIN_LOCL_H__ */