Return to php_openssl.h CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / openssl |
1.1 ! misho 1: /* ! 2: +----------------------------------------------------------------------+ ! 3: | PHP Version 5 | ! 4: +----------------------------------------------------------------------+ ! 5: | Copyright (c) 1997-2012 The PHP Group | ! 6: +----------------------------------------------------------------------+ ! 7: | This source file is subject to version 3.01 of the PHP license, | ! 8: | that is bundled with this package in the file LICENSE, and is | ! 9: | available through the world-wide-web at the following url: | ! 10: | http://www.php.net/license/3_01.txt | ! 11: | If you did not receive a copy of the PHP license and are unable to | ! 12: | obtain it through the world-wide-web, please send a note to | ! 13: | license@php.net so we can mail you a copy immediately. | ! 14: +----------------------------------------------------------------------+ ! 15: | Authors: Stig Venaas <venaas@php.net> | ! 16: | Wez Furlong <wez@thebrainroom.com | ! 17: +----------------------------------------------------------------------+ ! 18: */ ! 19: ! 20: /* $Id: php_openssl.h 321634 2012-01-01 13:15:04Z felipe $ */ ! 21: ! 22: #ifndef PHP_OPENSSL_H ! 23: #define PHP_OPENSSL_H ! 24: /* HAVE_OPENSSL would include SSL MySQL stuff */ ! 25: #ifdef HAVE_OPENSSL_EXT ! 26: extern zend_module_entry openssl_module_entry; ! 27: #define phpext_openssl_ptr &openssl_module_entry ! 28: ! 29: php_stream_transport_factory_func php_openssl_ssl_socket_factory; ! 30: ! 31: PHP_MINIT_FUNCTION(openssl); ! 32: PHP_MSHUTDOWN_FUNCTION(openssl); ! 33: PHP_MINFO_FUNCTION(openssl); ! 34: ! 35: PHP_FUNCTION(openssl_pkey_get_private); ! 36: PHP_FUNCTION(openssl_pkey_get_public); ! 37: PHP_FUNCTION(openssl_pkey_free); ! 38: PHP_FUNCTION(openssl_pkey_new); ! 39: PHP_FUNCTION(openssl_pkey_export); ! 40: PHP_FUNCTION(openssl_pkey_export_to_file); ! 41: PHP_FUNCTION(openssl_pkey_get_details); ! 42: ! 43: PHP_FUNCTION(openssl_sign); ! 44: PHP_FUNCTION(openssl_verify); ! 45: PHP_FUNCTION(openssl_seal); ! 46: PHP_FUNCTION(openssl_open); ! 47: PHP_FUNCTION(openssl_private_encrypt); ! 48: PHP_FUNCTION(openssl_private_decrypt); ! 49: PHP_FUNCTION(openssl_public_encrypt); ! 50: PHP_FUNCTION(openssl_public_decrypt); ! 51: ! 52: PHP_FUNCTION(openssl_pkcs7_verify); ! 53: PHP_FUNCTION(openssl_pkcs7_decrypt); ! 54: PHP_FUNCTION(openssl_pkcs7_sign); ! 55: PHP_FUNCTION(openssl_pkcs7_encrypt); ! 56: ! 57: PHP_FUNCTION(openssl_error_string); ! 58: ! 59: PHP_FUNCTION(openssl_x509_read); ! 60: PHP_FUNCTION(openssl_x509_free); ! 61: PHP_FUNCTION(openssl_x509_parse); ! 62: PHP_FUNCTION(openssl_x509_checkpurpose); ! 63: PHP_FUNCTION(openssl_x509_export); ! 64: PHP_FUNCTION(openssl_x509_export_to_file); ! 65: PHP_FUNCTION(openssl_x509_check_private_key); ! 66: ! 67: PHP_FUNCTION(openssl_pkcs12_export); ! 68: PHP_FUNCTION(openssl_pkcs12_export_to_file); ! 69: PHP_FUNCTION(openssl_pkcs12_read); ! 70: ! 71: PHP_FUNCTION(openssl_csr_new); ! 72: PHP_FUNCTION(openssl_csr_export); ! 73: PHP_FUNCTION(openssl_csr_export_to_file); ! 74: PHP_FUNCTION(openssl_csr_sign); ! 75: PHP_FUNCTION(openssl_csr_get_subject); ! 76: PHP_FUNCTION(openssl_csr_get_public_key); ! 77: #else ! 78: ! 79: #define phpext_openssl_ptr NULL ! 80: ! 81: #endif ! 82: ! 83: #endif ! 84: ! 85: /* ! 86: * Local variables: ! 87: * tab-width: 4 ! 88: * c-basic-offset: 4 ! 89: * End: ! 90: */