Skip to content

Commit 08ce059

Browse files
author
Hartmut Holzgraefe
committed
more proto stuff
1 parent d88701e commit 08ce059

File tree

1 file changed

+9
-17
lines changed

1 file changed

+9
-17
lines changed

ext/mcve/mcve.c

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ PHP_MINFO_FUNCTION(mcve)
214214
/* }}} */
215215

216216

217-
/* {{{ proto int mcve_initengine(char *location)
217+
/* {{{ proto int mcve_initengine(string location)
218218
Ready the client for IP/SSL Communication */
219219
PHP_FUNCTION(mcve_initengine)
220220
{
@@ -1567,10 +1567,8 @@ PHP_FUNCTION(mcve_liststats)
15671567
}
15681568
/* }}} */
15691569

1570-
/* {{{ proto int mcve_initusersetup()
1571-
1572-
Initialize structure to store user data
1573-
*/
1570+
/* {{{ proto resource mcve_initusersetup(void)
1571+
Initialize structure to store user data */
15741572
PHP_FUNCTION(mcve_initusersetup)
15751573
{
15761574
MCVE_UserSetup *usersetup;
@@ -1583,10 +1581,8 @@ PHP_FUNCTION(mcve_initusersetup)
15831581
}
15841582
/* }}} */
15851583

1586-
/* {{{ proto void mcve_deleteusersetup(int usersetup)
1587-
1588-
Deallocate data associated with usersetup structure
1589-
*/
1584+
/* {{{ proto void mcve_deleteusersetup(resource usersetup)
1585+
Deallocate data associated with usersetup structure */
15901586
PHP_FUNCTION(mcve_deleteusersetup)
15911587
{
15921588
MCVE_UserSetup *usersetup;
@@ -1605,10 +1601,8 @@ PHP_FUNCTION(mcve_deleteusersetup)
16051601
}
16061602
/* }}} */
16071603

1608-
/* {{{ proto int mcve_adduserarg(int usersetup, int argtype, string argval)
1609-
1610-
Add a value to user configuration structure
1611-
*/
1604+
/* {{{ proto int mcve_adduserarg(resource usersetup, int argtype, string argval)
1605+
Add a value to user configuration structure */
16121606
PHP_FUNCTION(mcve_adduserarg)
16131607
{
16141608
MCVE_UserSetup *usersetup;
@@ -1631,10 +1625,8 @@ PHP_FUNCTION(mcve_adduserarg)
16311625
}
16321626
/* }}} */
16331627

1634-
/* {{{ proto string mcve_getuserarg(int usersetup, int argtype)
1635-
1636-
Grab a value from usersetup structure
1637-
*/
1628+
/* {{{ proto string mcve_getuserarg(resource usersetup, int argtype)
1629+
Grab a value from usersetup structure */
16381630
PHP_FUNCTION(mcve_getuserarg)
16391631
{
16401632
MCVE_UserSetup *usersetup;

0 commit comments

Comments
 (0)