summaryrefslogtreecommitdiffstats
path: root/php/environs/lasso_identity.c
diff options
context:
space:
mode:
authorChristophe Nowicki <cnowicki@easter-eggs.com>2004-08-05 15:26:38 +0000
committerChristophe Nowicki <cnowicki@easter-eggs.com>2004-08-05 15:26:38 +0000
commitb12193e68f822203ac01ea81055aebfb45b82544 (patch)
tree01568422b1bc06ebe66eee489611fc2794e380f5 /php/environs/lasso_identity.c
parent8ecc49afbd5a6d860d5de1b170ef8e81e6a58fea (diff)
downloadlasso-b12193e68f822203ac01ea81055aebfb45b82544.tar.gz
lasso-b12193e68f822203ac01ea81055aebfb45b82544.tar.xz
lasso-b12193e68f822203ac01ea81055aebfb45b82544.zip
automake/autoconf support for the php binding
Diffstat (limited to 'php/environs/lasso_identity.c')
-rw-r--r--php/environs/lasso_identity.c31
1 files changed, 2 insertions, 29 deletions
diff --git a/php/environs/lasso_identity.c b/php/environs/lasso_identity.c
index d61b924b..75336a33 100644
--- a/php/environs/lasso_identity.c
+++ b/php/environs/lasso_identity.c
@@ -22,13 +22,13 @@
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include "lasso_config.h"
#endif
#include "php.h"
#include "php_ini.h"
#include "ext/standard/info.h"
-#include "php_lasso.h"
+#include "../php_lasso.h"
#include "lasso.h"
@@ -98,30 +98,3 @@ PHP_FUNCTION(lasso_identity_dump) {
}
/* }}} */
-
-/* {{{ proto resource lasso_identity_get_next_providerID(resource identity) */
-PHP_FUNCTION(lasso_identity_get_next_providerid)
-{
- LassoIdentity *identity;
- char *providerID;
- zval *param;
-
- zend_printf("DEBUG: lasso_identity_get_next_providerID\n");
-
- int num_args;
-
- if ((num_args = ZEND_NUM_ARGS()) != 1)
- WRONG_PARAM_COUNT
-
- if (zend_parse_parameters(num_args TSRMLS_CC, "z", &param) == FAILURE) {
- return;
- }
-
- ZEND_FETCH_RESOURCE(identity, LassoIdentity *, &param, -1, le_lassoidentity_name, le_lassoidentity);
-
- zend_printf("DEBUG: identity at 0x%p\n", identity);
-
- providerID = (char *) lasso_identity_get_next_providerID(identity);
- RETURN_STRING(providerID, 1);
-}
-/* }}} */