* io.c (rb_open_file): encoding in mode string was ignored if perm is
[ruby-svn.git] / ext / openssl / ossl_cipher.h
blobbed4fa853b569de5e4f2ab0f7c531fa93afb856a
1 /*
2 * $Id$
3 * 'OpenSSL for Ruby' project
4 * Copyright (C) 2001-2002 Michal Rokos <m.rokos@sh.cvut.cz>
5 * All rights reserved.
6 */
7 /*
8 * This program is licenced under the same licence as Ruby.
9 * (See the file 'LICENCE'.)
11 #if !defined(_OSSL_CIPHER_H_)
12 #define _OSSL_CIPHER_H_
14 extern VALUE cCipher;
15 extern VALUE eCipherError;
17 const EVP_CIPHER *GetCipherPtr(VALUE);
18 VALUE ossl_cipher_new(const EVP_CIPHER *);
19 void Init_ossl_cipher(void);
21 #endif /* _OSSL_CIPHER_H_ */