CVS update: php3/dl/vmailmgr
| From: | eschmid | Date: | Mon, 04 Jan 1999 20:39:17 +0000 |
| Subject: | CVS update: php3/dl/vmailmgr | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3261@lists.php.net to get a copy of this message | ||
Date: Monday January 4, 1999 @ 15:39
Author: eschmid
Update of /repository/php3/dl/vmailmgr
In directory asf:/u/temp/cvs-serv11281
Modified Files:
php3_vmailmgr.c
Log Message:
5 more prototypes.
Index: php3/dl/vmailmgr/php3_vmailmgr.c
diff -c php3/dl/vmailmgr/php3_vmailmgr.c:1.4 php3/dl/vmailmgr/php3_vmailmgr.c:1.5
*** php3/dl/vmailmgr/php3_vmailmgr.c:1.4 Mon Dec 28 04:34:51 1998
--- php3/dl/vmailmgr/php3_vmailmgr.c Mon Jan 4 15:39:16 1999
***************
*** 10,22 ****
*
* USE AT YOUR OWN RISK!
*
! * $Id: php3_vmailmgr.c,v 1.4 1998/12/28 09:34:51 sas Exp $
*/
#include "dl/phpdl.h"
#include "phpvmail.h"
#define PWORD_MISSMATCH "The passwords you entered do not match"
void vm_adduser(INTERNAL_FUNCTION_PARAMETERS)
{
pval *vdomain,*username,*password,*newpass;
--- 10,25 ----
*
* USE AT YOUR OWN RISK!
*
! * $Id: php3_vmailmgr.c,v 1.5 1999/01/04 20:39:16 eschmid Exp $
*/
#include "dl/phpdl.h"
#include "phpvmail.h"
#define PWORD_MISSMATCH "The passwords you entered do not match"
+ /* {{{ proto int vm_adduser(string vdomain, string basepwd, string newusername, string
newuserpassword)
+ Add a new virtual user with a password */
+
void vm_adduser(INTERNAL_FUNCTION_PARAMETERS)
{
pval *vdomain,*username,*password,*newpass;
***************
*** 37,43 ****
--- 40,49 ----
}
return;
}
+ /* }}} */
+ /* {{{ proto int vm_deluser(string vdomain, string username)
+ Removes a virtual user */
void vm_deluser(INTERNAL_FUNCTION_PARAMETERS)
{
***************
*** 58,64 ****
--- 64,73 ----
}
return;
}
+ /* }}} */
+ /* {{{ proto int vm_passwd(string vdomain, string username, string password, string newpasswd)
+ Changes a virtual users password */
void vm_passwd(INTERNAL_FUNCTION_PARAMETERS)
{
***************
*** 80,86 ****
--- 89,98 ----
}
return;
}
+ /* }}} */
+ /* {{{ proto int vm_addalias(string vdomain, string basepwd, string username, string alias)
+ Add an alias to a virtual user */
void vm_addalias(INTERNAL_FUNCTION_PARAMETERS)
{
***************
*** 101,107 ****
--- 113,122 ----
WRONG_PARAM_COUNT;
}
}
+ /* }}} */
+ /* {{{ proto int vm_delalias(string vdomain, string basepwd, string alias)
+ Removes an alias */
void vm_delalias(INTERNAL_FUNCTION_PARAMETERS)
{
***************
*** 122,128 ****
}
return;
}
!
function_entry vmailmgr_functions[] = {
{"vm_adduser", vm_adduser, NULL},
--- 137,143 ----
}
return;
}
! /* }}} */
function_entry vmailmgr_functions[] = {
{"vm_adduser", vm_adduser, NULL},
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net