From 0f8e49e5cf71de3d859fe0ee70c36f8e4fed2c96 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 7 Sep 1997 23:19:21 +0000 Subject: [PATCH] prototypes from misc.c add defintion of ALLOC git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3412 ec53bebd-3082-4978-b11e-865c3cabbd6b --- admin/admin_locl.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/admin/admin_locl.h b/admin/admin_locl.h index 980739865..55a065b05 100644 --- a/admin/admin_locl.h +++ b/admin/admin_locl.h @@ -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__ */