aboutsummaryrefslogtreecommitdiffstats
path: root/USER
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2003-05-12 12:52:25 +0000
committerDaouda Lo <daouda@mandriva.com>2003-05-12 12:52:25 +0000
commit37378010b4b321239faed1d3da91af3ba7bf3716 (patch)
tree8bb33310869544bd86b73aa9f55143ccf02026d4 /USER
parent6f99d892a8a3127993e71a1ccb2f75d6cf9e0859 (diff)
downloaduserdrake-37378010b4b321239faed1d3da91af3ba7bf3716.tar
userdrake-37378010b4b321239faed1d3da91af3ba7bf3716.tar.gz
userdrake-37378010b4b321239faed1d3da91af3ba7bf3716.tar.bz2
userdrake-37378010b4b321239faed1d3da91af3ba7bf3716.tar.xz
userdrake-37378010b4b321239faed1d3da91af3ba7bf3716.zip
*** empty log message ***
Diffstat (limited to 'USER')
-rw-r--r--USER/USER.xs9
1 files changed, 2 insertions, 7 deletions
diff --git a/USER/USER.xs b/USER/USER.xs
index a5d8043..272ada7 100644
--- a/USER/USER.xs
+++ b/USER/USER.xs
@@ -72,21 +72,16 @@ USER::ADMIN *
Admin_new(CLASS)
char *CLASS
CODE:
+ USER__ERR *error == NULL;
RETVAL = (USER__ADMIN *)safemalloc( sizeof( USER__ADMIN ) );
if( RETVAL == NULL ){
warn("unable to malloc USER__ADMIN");
XSRETURN_UNDEF;
}
+ RETVAL = lu_start(NULL, 0, NULL, NULL, lu_prompt_console_quiet, NULL, &error);
OUTPUT:
RETVAL
-void
-Admin_start(self)
- USER::ADMIN *self
- CODE:
- USER__ERR *error = NULL;
- self = lu_start(NULL, 0, NULL, NULL, lu_prompt_console_quiet, NULL, &error);
-
void
Admin_DESTROY(self)
USER::ADMIN *self