/[winpt]/trunk/Gnupg/packet.h
ViewVC logotype

Annotation of /trunk/Gnupg/packet.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations)
Mon Jan 31 11:02:21 2005 UTC (20 years, 1 month ago) by twoaday
File MIME type: text/plain
File size: 1618 byte(s)
WinPT initial checkin.


1 twoaday 2 #ifndef GPGLIB_PACKET_H
2     #define GPGLIB_PACKET_H
3    
4     int copy_all_packets( gpg_iobuf_t inp, gpg_iobuf_t out );
5     int copy_some_packets( gpg_iobuf_t inp, gpg_iobuf_t out, _off_t stopoff );
6     int skip_some_packets( gpg_iobuf_t inp, unsigned n );
7     int set_packet_list_mode( int mode );
8     int search_packet( gpg_iobuf_t inp, PACKET *pkt, _off_t *retpos, int with_uid );
9    
10     const byte *enum_sig_subpkt ( const subpktarea_t *subpkts,
11     sigsubpkttype_t reqtype,
12     size_t *ret_n, int *start, int *critical );
13    
14     const byte * get_session_marker( size_t *rlen );
15    
16     void free_symkey_enc( PKT_symkey_enc *enc );
17     void free_pubkey_enc( PKT_pubkey_enc *enc );
18     void free_seckey_enc( PKT_signature *enc );
19     int digest_algo_from_sig( PKT_signature *sig );
20     void release_public_key_parts( PKT_public_key *pk );
21     void free_public_key( PKT_public_key *key );
22     void release_secret_key_parts( PKT_secret_key *sk );
23     void free_secret_key( PKT_secret_key *sk );
24     void free_attributes(PKT_user_id *uid);
25     void free_user_id( PKT_user_id *uid );
26     void free_comment( PKT_comment *rem );
27    
28    
29     int parse_one_sig_subpkt( const byte *buffer, size_t n, int type );
30     void parse_revkeys(PKT_signature *sig);
31     int parse_attribute_subpkts(PKT_user_id *uid);
32     void make_attribute_uidname(PKT_user_id *uid);
33    
34     prefitem_t *copy_prefs (const prefitem_t *prefs);
35    
36     void copy_public_parts_to_secret_key( PKT_public_key *pk, PKT_secret_key *sk );
37    
38     /*-- armor.c --*/
39     void print_string( FILE *fp, const byte *p, size_t n, int delim );
40     const char* get_armor_error( void );
41    
42     #endif /*GPGLIB_PACKET_H*/

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26