diff options
author | Sascha Schumann <sas@php.net> | 1999-05-21 10:06:25 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 1999-05-21 10:06:25 +0000 |
commit | b57dc275950b228f2399990471c4f22b7d154c6c (patch) | |
tree | a89fe99e356b218591b0b0b392862e0b9ddd4e7e /ext/ldap/php3_ldap.h | |
parent | 4fe8fe715e4347a4063a57e1a9fd6dc013ca9ee0 (diff) | |
download | php-git-b57dc275950b228f2399990471c4f22b7d154c6c.tar.gz |
- run ext sources through conv_proto
- add necessary phpext_*_ptr
Diffstat (limited to 'ext/ldap/php3_ldap.h')
-rw-r--r-- | ext/ldap/php3_ldap.h | 54 |
1 files changed, 28 insertions, 26 deletions
diff --git a/ext/ldap/php3_ldap.h b/ext/ldap/php3_ldap.h index ac6781527b..d16ab56382 100644 --- a/ext/ldap/php3_ldap.h +++ b/ext/ldap/php3_ldap.h @@ -47,43 +47,43 @@ extern php3_module_entry ldap_module_entry; #define ldap_module_ptr &ldap_module_entry /* LDAP functions */ -extern int php3_minit_ldap(INIT_FUNC_ARGS); -extern int php3_mshutdown_ldap(SHUTDOWN_FUNC_ARGS); +int php3_minit_ldap(INIT_FUNC_ARGS); +int php3_mshutdown_ldap(SHUTDOWN_FUNC_ARGS); -extern void php3_info_ldap(ZEND_MODULE_INFO_FUNC_ARGS); +void php3_info_ldap(ZEND_MODULE_INFO_FUNC_ARGS); -extern void php3_ldap_connect(INTERNAL_FUNCTION_PARAMETERS); +PHP_FUNCTION(ldap_connect); -extern void php3_ldap_bind(INTERNAL_FUNCTION_PARAMETERS); -extern void php3_ldap_unbind(INTERNAL_FUNCTION_PARAMETERS); +PHP_FUNCTION(ldap_bind); +PHP_FUNCTION(ldap_unbind); -extern void php3_ldap_read(INTERNAL_FUNCTION_PARAMETERS); -extern void php3_ldap_list(INTERNAL_FUNCTION_PARAMETERS); -extern void php3_ldap_search(INTERNAL_FUNCTION_PARAMETERS); +PHP_FUNCTION(ldap_read); +PHP_FUNCTION(ldap_list); +PHP_FUNCTION(ldap_search); -extern void php3_ldap_free_result(INTERNAL_FUNCTION_PARAMETERS); -extern void php3_ldap_count_entries(INTERNAL_FUNCTION_PARAMETERS); +PHP_FUNCTION(ldap_free_result); +PHP_FUNCTION(ldap_count_entries); -extern void php3_ldap_first_entry(INTERNAL_FUNCTION_PARAMETERS); -extern void php3_ldap_next_entry(INTERNAL_FUNCTION_PARAMETERS); -extern void php3_ldap_get_entries(INTERNAL_FUNCTION_PARAMETERS); +PHP_FUNCTION(ldap_first_entry); +PHP_FUNCTION(ldap_next_entry); +PHP_FUNCTION(ldap_get_entries); #if 0 -extern void php3_ldap_free_entry(INTERNAL_FUNCTION_PARAMETERS); +PHP_FUNCTION(ldap_free_entry); #endif -extern void php3_ldap_first_attribute(INTERNAL_FUNCTION_PARAMETERS); -extern void php3_ldap_next_attribute(INTERNAL_FUNCTION_PARAMETERS); -extern void php3_ldap_get_attributes(INTERNAL_FUNCTION_PARAMETERS); +PHP_FUNCTION(ldap_first_attribute); +PHP_FUNCTION(ldap_next_attribute); +PHP_FUNCTION(ldap_get_attributes); -extern void php3_ldap_get_values(INTERNAL_FUNCTION_PARAMETERS); +PHP_FUNCTION(ldap_get_values); -extern void php3_ber_free(INTERNAL_FUNCTION_PARAMETERS); -extern void php3_ldap_get_dn(INTERNAL_FUNCTION_PARAMETERS); -extern void php3_ldap_explode_dn(INTERNAL_FUNCTION_PARAMETERS); -extern void php3_ldap_dn2ufn(INTERNAL_FUNCTION_PARAMETERS); +PHP_FUNCTION(ber_free); +PHP_FUNCTION(ldap_get_dn); +PHP_FUNCTION(ldap_explode_dn); +PHP_FUNCTION(ldap_dn2ufn); -extern void php3_ldap_add(INTERNAL_FUNCTION_PARAMETERS); -extern void php3_ldap_delete(INTERNAL_FUNCTION_PARAMETERS); -extern void php3_ldap_modify(INTERNAL_FUNCTION_PARAMETERS); +PHP_FUNCTION(ldap_add); +PHP_FUNCTION(ldap_delete); +PHP_FUNCTION(ldap_modify); typedef struct { long default_link; @@ -118,4 +118,6 @@ extern ldap_module php3_ldap_module; #endif +#define phpext_ldap_ptr ldap_module_ptr + #endif /* _PHP3_LDAP_H */ |