diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2000-10-03 01:33:57 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2000-10-03 01:33:57 +0000 |
commit | 4c10950310e29648d54828ba2e42e9df6cd9fbe8 (patch) | |
tree | 5c57e858785f92da154b8909b703b4902fe94016 /lib/libkeynote/assertion.h | |
parent | d8b6b8e8d2ae472f3bd086736a409dfbc951a428 (diff) |
Sync.
Diffstat (limited to 'lib/libkeynote/assertion.h')
-rw-r--r-- | lib/libkeynote/assertion.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/lib/libkeynote/assertion.h b/lib/libkeynote/assertion.h index 90ea6427003..efb75623cdc 100644 --- a/lib/libkeynote/assertion.h +++ b/lib/libkeynote/assertion.h @@ -1,4 +1,4 @@ -/* $OpenBSD: assertion.h,v 1.2 1999/05/31 20:09:58 angelos Exp $ */ +/* $OpenBSD: assertion.h,v 1.3 2000/10/03 01:33:55 angelos Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu) * @@ -74,8 +74,8 @@ struct assertion int as_signeralgorithm; int as_result; int as_error; - u_char as_flags; - u_char as_internalflags; + unsigned char as_flags; + unsigned char as_internalflags; char as_kresult; char as_sigresult; struct keylist *as_keylist; @@ -135,15 +135,16 @@ extern int keynote_errno; extern int knlineno; /* Function prototypes */ -extern int keynote_env_add(char *, char *, struct environment **, u_int, int); -extern char *keynote_env_lookup(char *, struct environment **, u_int); -extern int keynote_env_delete(char *, struct environment **, u_int); +extern int keynote_env_add(char *, char *, struct environment **, + unsigned int, int); +extern char *keynote_env_lookup(char *, struct environment **, unsigned int); +extern int keynote_env_delete(char *, struct environment **, unsigned int); extern struct keylist *keynote_keylist_find(struct keylist *, char *); extern struct environment *keynote_get_envlist(char *, char *, int); extern struct assertion *keynote_parse_assertion(char *, int, int); extern int keynote_evaluate_authorizer(struct assertion *, int); extern struct assertion *keynote_find_assertion(void *, int, int); -extern void keynote_env_cleanup(struct environment **, u_int); +extern void keynote_env_cleanup(struct environment **, unsigned int); extern int keynote_get_key_algorithm(char *, int *, int *); extern int keynote_sigverify_assertion(struct assertion *); extern int keynote_evaluate_assertion(struct assertion *); @@ -157,7 +158,7 @@ extern void keynote_keylist_free(struct keylist *); extern void keynote_free_env(struct environment *); extern int keynote_in_authorizers(void *, int); extern int keynote_sremove_assertion(int, int); -extern u_int keynote_stringhash(char *, u_int); +extern unsigned int keynote_stringhash(char *, unsigned int); extern char *keynote_get_private_key(char *); extern void keynote_free_key(void *, int); extern int keynote_evaluate_query(void); |