diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2002-06-10 18:09:00 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2002-06-10 18:09:00 +0000 |
commit | 2bad24d48d7d5d6600e54f58f739b9721511d3ef (patch) | |
tree | 82d021bca39c9e9fa98407a476d84f353c2c9d1d /sbin/isakmpd/policy.h | |
parent | 2c5d74d6bbb48ebdd6e6c66fcad23e407a71c75d (diff) |
The dlopen() stuff goes away.
Diffstat (limited to 'sbin/isakmpd/policy.h')
-rw-r--r-- | sbin/isakmpd/policy.h | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/sbin/isakmpd/policy.h b/sbin/isakmpd/policy.h index 88b35aa7f36..2740e75e540 100644 --- a/sbin/isakmpd/policy.h +++ b/sbin/isakmpd/policy.h @@ -1,4 +1,4 @@ -/* $OpenBSD: policy.h,v 1.9 2001/08/15 13:06:53 ho Exp $ */ +/* $OpenBSD: policy.h,v 1.10 2002/06/10 18:08:58 ho Exp $ */ /* $EOM: policy.h,v 1.12 2000/09/28 12:53:27 niklas Exp $ */ /* @@ -45,40 +45,8 @@ #if defined (USE_KEYNOTE) #define CREDENTIAL_FILE "credentials" #define PRIVATE_KEY_FILE "private_key" - -#define LK(sym, args) sym args -#define LKV(sym) sym -#elif defined (HAVE_DLOPEN) && 0 -#define LK(sym, args) lk_ ## sym args -#define LKV(sym) *lk_ ## sym -#else -#define LK(sym, args) !!libkeynote called but no USE_KEYNOTE nor HAVE_DLOPEN!! -#define LKV(sym) !!libkeynote called but no USE_KEYNOTE nor HAVE_DLOPEN!! #endif -#if defined (HAVE_DLOPEN) && !defined (USE_KEYNOTE) && 0 -struct keynote_deckey; - -extern void *libkeynote; - -/* - * These prototypes matches OpenBSD keynote.h 1.6. If you use - * a different version than that, you are on your own. - */ -extern int *lk_keynote_errno; -extern int (*lk_kn_add_action) (int, char *, char *, int); -extern int (*lk_kn_add_assertion) (int, char *, int, int); -extern int (*lk_kn_add_authorizer) (int, char *); -extern int (*lk_kn_close) (int); -extern int (*lk_kn_do_query) (int, char **, int); -extern char *(*lk_kn_encode_key) (struct keynote_deckey *, int, int, int); -extern int (*lk_kn_init) (void); -extern char **(*lk_kn_read_asserts) (char *, int, int *); -extern int (*lk_kn_remove_authorizer) (int, char *); -extern void (*lk_kn_free_key) (struct keynote_deckey *); -extern void *(*lk_kn_get_authorizer) (int, int, int*); -#endif /* HAVE_DLOPEN && !USE_KEYNOTE */ - extern int keynote_sessid; extern int keynote_policy_asserts_num; extern int x509_policy_asserts_num; |