--- pgp/src/keymaint.h 2018/04/24 16:40:13 1.1.1.2 +++ pgp/src/keymaint.h 2018/04/24 16:43:40 1.1.1.5 @@ -1,7 +1,18 @@ #ifndef KEYMAINT_H #define KEYMAINT_H -int maint_update(char *ringfile); +#include "pgp.h" /* For KEYFRAGSIZE */ + +/* Build the singly-linked list in the obvious way. */ +struct newkey { + byte keyID[KEYFRAGSIZE]; + struct newkey *next; +}; +void free_newkeys(struct newkey *nkeys); +int ismember_newkeys(byte const keyid[KEYFRAGSIZE], + struct newkey const *nkeys); + +int maint_update(char *ringfile, struct newkey const *nkeys); int maint_check(char *ringfile, int options); void init_trust_lst(void);