Mercurial > hg > php_nacl
comparison php_nacl.h @ 0:96c976fb3c3d
Initial commit
author | Ivo Smits <Ivo@UCIS.nl> |
---|---|
date | Sun, 27 Feb 2011 18:58:38 +0100 |
parents | |
children | 81aaf4ba1eaa |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:96c976fb3c3d |
---|---|
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 |