]> www.wagner.pp.ru Git - oss/ctypescrypto.git/blobdiff - ctypescrypto/bio.py
Added more function declarations. Added @staticmethod to PKey.generate. Documented...
[oss/ctypescrypto.git] / ctypescrypto / bio.py
index 92de35c5dd27fe4eba15966b038e6aa24590d732..642b96b72c140c5c74382bf01a1c5fd8823d6c55 100644 (file)
@@ -64,3 +64,6 @@ libcrypto.BIO_ctrl.restype=c_long
 libcrypto.BIO_ctrl.argtypes=(c_void_p,c_int,c_long,POINTER(c_char_p))
 libcrypto.BIO_read.argtypes=(c_void_p,c_char_p,c_int)
 libcrypto.BIO_write.argtypes=(c_void_p,c_char_p,c_int)
+libcrypto.BIO_free.argtypes=(c_void_p,)
+libcrypto.BIO_new_mem_buf.restype=c_void_p
+libcrypto.BIO_new_mem_buf.argtypes=(c_char_p,c_int)