Annotation of pgp/src/keymaint.h, revision 1.1.1.2

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);
1.1.1.2 ! root       10: void show_update(char *s);
1.1       root       11: 
                     12: /* possible values for 'what' of show_key() */
                     13: #define        SHOW_TRUST              1
                     14: #define        SHOW_SIGS               2
                     15: #define        SHOW_HASH               4
                     16: #define        SHOW_LISTFMT    8
1.1.1.2 ! root       17: #define SHOW_CHANGE            16
1.1       root       18: #define        SHOW_ALL                (SHOW_TRUST|SHOW_SIGS)
                     19: 
                     20: /* options for maint_check() */
                     21: #define        MAINT_CHECK                             0x01
                     22: #define        MAINT_VERBOSE                   0x02
                     23: #define        MAINT_SILENT                    0x04
                     24: 
                     25: 
                     26: int readkpacket(FILE *f, byte *ctb, char *userid, byte *keyID, byte *sigkeyID);
                     27: int read_trust(FILE *f, byte *keyctrl);
                     28: void write_trust (FILE *f, byte trustbyte);
                     29: void write_trust_pos(FILE *f, byte keyctrl, long pos);
                     30: 
                     31: int ask_owntrust(char *userid, byte cur_trust);
                     32: 
                     33: char * user_from_keyID(byte *keyID);
                     34: int setkrent(char *keyring);
                     35: void endkrent();
                     36: int init_userhash();
                     37: 
                     38: 
                     39: extern char trust_lst[8][16];
                     40: 
                     41: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.