0
|
1 #ifndef PHP_NACL_H |
|
2 #define PHP_NACL_H 1 |
|
3 |
|
4 #ifdef ZTS |
|
5 #include "TSRM.h" |
|
6 #endif |
|
7 |
|
8 #define PHP_NACL_VERSION "1.0" |
|
9 #define PHP_NACL_EXTNAME "nacl" |
|
10 |
|
11 PHP_MINIT_FUNCTION(nacl); |
|
12 PHP_FUNCTION(nacl_crypto_box_curve25519xsalsa20poly1305); |
|
13 PHP_FUNCTION(nacl_crypto_box_curve25519xsalsa20poly1305_open); |
|
14 PHP_FUNCTION(nacl_crypto_box_curve25519xsalsa20poly1305_getpublickey); |
|
15 PHP_FUNCTION(nacl_crypto_box_curve25519xsalsa20poly1305_beforenm); |
|
16 PHP_FUNCTION(nacl_crypto_box_curve25519xsalsa20poly1305_afternm); |
|
17 PHP_FUNCTION(nacl_crypto_box_curve25519xsalsa20poly1305_open_afternm); |
|
18 |
|
19 extern zend_module_entry nacl_module_entry; |
|
20 #define phpext_module_ptr &nacl_module_entry |
|
21 |
|
22 #endif |