aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/cipher.h3
-rw-r--r--include/iobuf.h1
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 );