diff options
author | Werner Koch <wk@gnupg.org> | 1998-02-16 21:05:02 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1998-02-16 21:05:02 +0100 |
commit | 82464369f664f821542c416d35d4013f9723f87a (patch) | |
tree | d127f2d891260ff1c6d4264630b2ba7bd463b1f4 /include | |
parent | added option export (diff) | |
download | gnupg2-82464369f664f821542c416d35d4013f9723f87a.tar.xz gnupg2-82464369f664f821542c416d35d4013f9723f87a.zip |
some import functionality
Diffstat (limited to 'include')
-rw-r--r-- | include/cipher.h | 3 | ||||
-rw-r--r-- | include/iobuf.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/cipher.h b/include/cipher.h index 7262d5c66..d0fe788ae 100644 --- a/include/cipher.h +++ b/include/cipher.h @@ -73,6 +73,9 @@ int cipher_debug_mode; int string_to_cipher_algo( const char *string ); int string_to_pubkey_algo( const char *string ); int string_to_digest_algo( const char *string ); +const char * cipher_algo_to_string( int algo ); +const char * pubkey_algo_to_string( int algo ); +const char * digest_algo_to_string( int algo ); int check_cipher_algo( int algo ); int check_pubkey_algo( int algo ); int check_digest_algo( int algo ); diff --git a/include/iobuf.h b/include/iobuf.h index a57d7a9ab..61c765395 100644 --- a/include/iobuf.h +++ b/include/iobuf.h @@ -89,6 +89,7 @@ int iobuf_seek( IOBUF a, ulong newpos ); int iobuf_readbyte(IOBUF a); int iobuf_read(IOBUF a, byte *buf, unsigned buflen ); +int iobuf_peek(IOBUF a, byte *buf, unsigned buflen ); int iobuf_writebyte(IOBUF a, unsigned c); int iobuf_write(IOBUF a, byte *buf, unsigned buflen ); int iobuf_writestr(IOBUF a, const char *buf ); |