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

1.1.1.3 ! root        1: #ifndef KEYMAINT_H
        !             2: #define KEYMAINT_H
        !             3: 
        !             4: #include "pgp.h"       /* For KEYFRAGSIZE */
        !             5: 
        !             6: /* Build the singly-linked list in the obvious way. */
        !             7: struct newkey {
        !             8:        byte keyID[KEYFRAGSIZE];
        !             9:        struct newkey *next;
        !            10: };
        !            11: void free_newkeys(struct newkey *nkeys);
        !            12: int ismember_newkeys(byte const keyid[KEYFRAGSIZE], struct newkey const *nkeys);
        !            13: 
        !            14: int maint_update(char *ringfile, struct newkey const *nkeys);
        !            15: int maint_check(char *ringfile, int options);
        !            16: void init_trust_lst(void);
        !            17: 
        !            18: /* Show key in file f at keypos */
        !            19: int show_key(FILE *f, long keypos, int what);
        !            20: void show_update(char *s);
        !            21: 
        !            22: /* possible values for 'what' of show_key() */
        !            23: #define        SHOW_TRUST              1
        !            24: #define        SHOW_SIGS               2
        !            25: #define        SHOW_HASH               4
        !            26: #define        SHOW_LISTFMT    8
        !            27: #define SHOW_CHANGE            16
        !            28: #define        SHOW_ALL                (SHOW_TRUST|SHOW_SIGS)
        !            29: 
        !            30: /* options for maint_check() */
        !            31: #define        MAINT_CHECK                             0x01
        !            32: #define        MAINT_VERBOSE                   0x02
        !            33: #define        MAINT_SILENT                    0x04
        !            34: 
        !            35: 
        !            36: int readkpacket(FILE *f, byte *ctb, char *userid, byte *keyID, byte *sigkeyID);
        !            37: int read_trust(FILE *f, byte *keyctrl);
        !            38: void write_trust (FILE *f, byte trustbyte);
        !            39: void write_trust_pos(FILE *f, byte keyctrl, long pos);
        !            40: 
        !            41: int ask_owntrust(char *userid, byte cur_trust);
        !            42: 
        !            43: char * user_from_keyID(byte *keyID);
        !            44: int setkrent(char *keyring);
        !            45: void endkrent();
        !            46: int init_userhash();
        !            47: 
        !            48: 
        !            49: extern char trust_lst[8][16];
        !            50: 
        !            51: #endif

unix.superglobalmegacorp.com

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