|
|
1.1 ! root 1: #ifndef KEYMAINT_H ! 2: #define KEYMAINT_H ! 3: ! 4: int maint_update(char *ringfile); ! 5: int maint_check(char *ringfile, int options); ! 6: void init_trust_lst(void); ! 7: ! 8: /* Show key in file f at keypos */ ! 9: int show_key(FILE *f, long keypos, int what); ! 10: ! 11: /* possible values for 'what' of show_key() */ ! 12: #define SHOW_TRUST 1 ! 13: #define SHOW_SIGS 2 ! 14: #define SHOW_HASH 4 ! 15: #define SHOW_LISTFMT 8 ! 16: #define SHOW_ALL (SHOW_TRUST|SHOW_SIGS) ! 17: ! 18: /* options for maint_check() */ ! 19: #define MAINT_CHECK 0x01 ! 20: #define MAINT_VERBOSE 0x02 ! 21: #define MAINT_SILENT 0x04 ! 22: ! 23: ! 24: int readkpacket(FILE *f, byte *ctb, char *userid, byte *keyID, byte *sigkeyID); ! 25: int read_trust(FILE *f, byte *keyctrl); ! 26: void write_trust (FILE *f, byte trustbyte); ! 27: void write_trust_pos(FILE *f, byte keyctrl, long pos); ! 28: ! 29: int ask_owntrust(char *userid, byte cur_trust); ! 30: ! 31: char * user_from_keyID(byte *keyID); ! 32: int setkrent(char *keyring); ! 33: void endkrent(); ! 34: int init_userhash(); ! 35: ! 36: ! 37: extern char trust_lst[8][16]; ! 38: ! 39: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.