Browse Source

Fix protos

experimental/first_unicode_implementation
Etienne Kneuss 18 years ago
parent
commit
5f4e5fa60a
  1. 2
      ext/gd/gd.c
  2. 4
      ext/ldap/ldap.c
  3. 2
      ext/openssl/openssl.c
  4. 2
      ext/standard/file.c
  5. 8
      ext/standard/streamsfuncs.c
  6. 2
      ext/standard/uniqid.c

2
ext/gd/gd.c

@ -3994,7 +3994,7 @@ PHP_FUNCTION(imagepsslantfont)
}
/* }}} */
/* {{{ proto array imagepstext(resource image, string text, resource font, int size, int foreground, int background, int xcoord, int ycoord [, int space, int tightness, float angle, int antialias])
/* {{{ proto array imagepstext(resource image, string text, resource font, int size, int foreground, int background, int xcoord, int ycoord [, int space [, int tightness [, float angle [, int antialias]]]])
Rasterize a string over an image */
PHP_FUNCTION(imagepstext)
{

4
ext/ldap/ldap.c

@ -386,7 +386,7 @@ static int _get_lderrno(LDAP *ldap)
}
/* }}} */
/* {{{ proto bool ldap_bind(resource link [, string dn, string password])
/* {{{ proto bool ldap_bind(resource link [, string dn [, string password]])
Bind to LDAP directory */
PHP_FUNCTION(ldap_bind)
{
@ -496,7 +496,7 @@ static int _php_sasl_interact(LDAP *ld, unsigned flags, void *defaults, void *in
}
/* }}} */
/* {{{ proto bool ldap_sasl_bind(resource link [, string binddn, string password, string sasl_mech, string sasl_realm, string sasl_authc_id, string sasl_authz_id, string props])
/* {{{ proto bool ldap_sasl_bind(resource link [, string binddn [, string password [, string sasl_mech [, string sasl_realm [, string sasl_authc_id [, string sasl_authz_id [, string props]]]]]]])
Bind to LDAP directory using SASL */
PHP_FUNCTION(ldap_sasl_bind)
{

2
ext/openssl/openssl.c

@ -2176,7 +2176,7 @@ cleanup:
}
/* }}} */
/* {{{ proto bool openssl_csr_new(array dn, resource &privkey [, array configargs, array extraattribs])
/* {{{ proto bool openssl_csr_new(array dn, resource &privkey [, array configargs [, array extraattribs]])
Generates a privkey and CSR */
PHP_FUNCTION(openssl_csr_new)
{

2
ext/standard/file.c

@ -1198,7 +1198,7 @@ PHPAPI PHP_FUNCTION(fgetc)
}
/* }}} */
/* {{{ proto string fgetss(resource fp [, int lengthish, string allowable_tags]) U
/* {{{ proto string fgetss(resource fp [, int lengthish [, string allowable_tags]]) U
Get a line from file pointer and strip HTML tags */
PHPAPI PHP_FUNCTION(fgetss)
{

8
ext/standard/streamsfuncs.c

@ -75,7 +75,7 @@ PHP_FUNCTION(stream_socket_pair)
/* }}} */
#endif
/* {{{ proto resource stream_socket_client(string remoteaddress [, long &errcode, string &errstring, double timeout, long flags, resource context]) U
/* {{{ proto resource stream_socket_client(string remoteaddress [, long &errcode [, string &errstring [, double timeout [, long flags [, resource context]]]]]) U
Open a client connection to a remote address */
PHP_FUNCTION(stream_socket_client)
{
@ -163,7 +163,7 @@ PHP_FUNCTION(stream_socket_client)
}
/* }}} */
/* {{{ proto resource stream_socket_server(string localaddress [, long &errcode, string &errstring, long flags, resource context]) U
/* {{{ proto resource stream_socket_server(string localaddress [, long &errcode [, string &errstring [, long flags [, resource context]]]]) U
Create a server socket bound to localaddress */
PHP_FUNCTION(stream_socket_server)
{
@ -229,7 +229,7 @@ PHP_FUNCTION(stream_socket_server)
}
/* }}} */
/* {{{ proto resource stream_socket_accept(resource serverstream, [ double timeout, string &peername ]) U
/* {{{ proto resource stream_socket_accept(resource serverstream, [ double timeout [, string &peername ]]) U
Accept a client connection from a server socket */
PHP_FUNCTION(stream_socket_accept)
{
@ -1467,7 +1467,7 @@ PHP_FUNCTION(stream_set_write_buffer)
}
/* }}} */
/* {{{ proto int stream_socket_enable_crypto(resource stream, bool enable [, int cryptokind, resource sessionstream]) U
/* {{{ proto int stream_socket_enable_crypto(resource stream, bool enable [, int cryptokind [, resource sessionstream]]) U
Enable or disable a specific kind of crypto on the stream */
PHP_FUNCTION(stream_socket_enable_crypto)
{

2
ext/standard/uniqid.c

@ -38,7 +38,7 @@
#include "php_lcg.h"
#include "uniqid.h"
/* {{{ proto string uniqid([string prefix , bool more_entropy]) U
/* {{{ proto string uniqid([string prefix [, bool more_entropy]]) U
Generates a unique ID */
#ifdef HAVE_GETTIMEOFDAY
PHP_FUNCTION(uniqid)

Loading…
Cancel
Save