Searched defs:user (Results 1 - 25 of 26) sorted by relevance

12

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_conf.h57 char *user; member in struct:fpm_worker_pool_config_s
H A Dfpm_worker_pool.h24 char *user, *home; /* for setting env USER and HOME */ member in struct:fpm_worker_pool_s
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.h93 const char *user; member in struct:st_mysqlnd_packet_auth
101 /* Here the packet ends. This is user supplied data */
H A Dmysqlnd.c58 "store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords "
131 if (conn->user) {
132 mnd_pefree(conn->user, pers);
133 conn->user = NULL;
537 const char * const user,
610 auth_plugin->methods.get_auth_data(NULL, &scrambled_data_len, conn, user, passwd, passwd_len,
616 ret = mysqlnd_auth_handshake(conn, user, passwd, passwd_len, db, db_len, options, mysql_flags,
625 ret = mysqlnd_auth_change_user(conn, user, strlen(user), passw
535 mysqlnd_run_authentication( MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, const char * const db, const size_t db_len, const zend_uchar * const auth_plugin_data, const size_t auth_plugin_data_len, const char * const auth_protocol, unsigned int charset_no, const MYSQLND_OPTIONS * const options, zend_ulong mysql_flags, zend_bool silent, zend_bool is_change_user ) argument
670 mysqlnd_connect_run_authentication( MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const char * const db, size_t db_len, size_t passwd_len, const MYSQLND_PACKET_GREET * const greet_packet, const MYSQLND_OPTIONS * const options, zend_ulong mysql_flags ) argument
1131 mysqlnd_connect(MYSQLND * conn_handle, const char * host, const char * user, const char * passwd, unsigned int passwd_len, const char * db, unsigned int db_len, unsigned int port, const char * socket_or_pipe, unsigned int mysql_flags, unsigned int client_api_flags ) argument
[all...]
H A Dmysqlnd_auth.c34 const char * const user,
94 auth_packet->user = user;
156 const char * const user,
212 auth_packet->user = user;
275 /* if we get conn->user as parameter and then we first free it, then estrndup it, we will crash */
276 tmp = mnd_pestrndup(user, user_len, conn->persistent);
277 if (conn->user) {
278 mnd_pefree(conn->user, con
33 mysqlnd_auth_handshake(MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, const char * const db, const size_t db_len, const MYSQLND_OPTIONS * const options, zend_ulong mysql_flags, unsigned int server_charset_no, zend_bool use_full_blown_auth_packet, const char * const auth_protocol, const zend_uchar * const auth_plugin_data, const size_t auth_plugin_data_len, char ** switch_to_auth_protocol, size_t * switch_to_auth_protocol_len, zend_uchar ** switch_to_auth_protocol_data, size_t * switch_to_auth_protocol_data_len ) argument
155 mysqlnd_auth_change_user(MYSQLND_CONN_DATA * const conn, const char * const user, const size_t user_len, const char * const passwd, const size_t passwd_len, const char * const db, const size_t db_len, const zend_bool silent, zend_bool use_full_blown_auth_packet, const char * const auth_protocol, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len, char ** switch_to_auth_protocol, size_t * switch_to_auth_protocol_len, zend_uchar ** switch_to_auth_protocol_data, size_t * switch_to_auth_protocol_data_len ) argument
358 mysqlnd_native_auth_get_auth_data(struct st_mysqlnd_authentication_plugin * self, size_t * auth_data_len, MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len, const MYSQLND_OPTIONS * const options, const MYSQLND_NET_OPTIONS * const net_options, zend_ulong mysql_flags ) argument
418 mysqlnd_pam_auth_get_auth_data(struct st_mysqlnd_authentication_plugin * self, size_t * auth_data_len, MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len, const MYSQLND_OPTIONS * const options, const MYSQLND_NET_OPTIONS * const net_options, zend_ulong mysql_flags ) argument
568 mysqlnd_sha256_auth_get_auth_data(struct st_mysqlnd_authentication_plugin * self, size_t * auth_data_len, MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len, const MYSQLND_OPTIONS * const options, const MYSQLND_NET_OPTIONS * const net_options, zend_ulong mysql_flags ) argument
[all...]
/PHP_TRUNK/ext/oci8/
H A Doci8.c72 /* For a user friendly message about environment setup */
2482 * Change password for the user with the username given
2484 int php_oci_password_change(php_oci_connection *connection, char *user, int user_len, char *pass_old, int pass_old_len, char *pass_new, int pass_new_len) argument
2488 PHP_OCI_CALL_RETURN(errstatus, OCIPasswordChange, (connection->svc, connection->err, (text *)user, user_len, (text *)pass_old, pass_old_len, (text *)pass_new, pass_new_len, OCI_DEFAULT));
2872 * cannot use this for other roundtrip calls as there is no way the user can access this error
3232 * user's password has expired, but is still usable.
3365 /* Session creation returns OCI_SUCCESS_WITH_INFO when user's password has expired, but
H A Doci8_interface.c1574 /* {{{ proto resource oci_new_connect(string user, string pass [, string db, string charset [, int session_mode ]])
1582 /* {{{ proto resource oci_connect(string user, string pass [, string db [, string charset [, int session_mode ]])
1590 /* {{{ proto resource oci_pconnect(string user, string pass [, string db [, string charset [, int session_mode ]])
1765 let the user D script correlate the connection address probe
1766 argument and the client_id. This would likely require user D
1955 char *user, *pass_old, *pass_new, *dbname; local
1967 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS(), "rsss", &z_connection, &user, &user_len, &pass_old, &pass_old_len, &pass_new, &pass_new_len) == SUCCESS) {
1983 if (php_oci_password_change(connection, user, user_len, pass_old, pass_old_len, pass_new, pass_new_len)) {
1987 } else if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS(), "ssss", &dbname, &dbname_len, &user, &user_len, &pass_old, &pass_old_len, &pass_new, &pass_new_len) == SUCCESS) {
2002 connection = php_oci_do_connect_ex(user, user_le
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_sdl.c3198 char *user = php_get_current_user(); local
3199 int user_len = user ? strlen(user) + 1 : 0;
3211 memcpy(key+len, user, user_len-1);
/PHP_TRUNK/ext/standard/
H A Durl.h25 char *user; member in struct:php_url
H A Dfilestat.c549 zval *user; local
556 if (zend_parse_parameters(ZEND_NUM_ARGS(), "pz/", &filename, &filename_len, &user) == FAILURE) {
565 if (Z_TYPE_P(user) == IS_LONG) {
567 value = &Z_LVAL_P(user);
568 } else if (Z_TYPE_P(user) == IS_STRING) {
570 value = Z_STRVAL_P(user);
572 php_error_docref(NULL, E_WARNING, "parameter 2 should be string or integer, %s given", zend_zval_type_name(user));
594 if (Z_TYPE_P(user) == IS_LONG) {
595 uid = (uid_t)Z_LVAL_P(user);
596 } else if (Z_TYPE_P(user)
[all...]
/PHP_TRUNK/ext/session/
H A Dmod_user.h27 PS_FUNCS_UPDATE_TIMESTAMP(user); variable
/PHP_TRUNK/main/
H A Dphp_output.h138 php_output_handler_user_func_t *user; member in union:_php_output_handler::__anon3
H A Doutput.c440 * Start a user level output handler */
475 * Create a user level output handler */
482 php_output_handler_user_func_t *user = NULL; local
494 user = ecalloc(1, sizeof(php_output_handler_user_func_t));
495 if (SUCCESS == zend_fcall_info_init(output_handler, 0, &user->fci, &user->fcc, &handler_name, &error)) {
497 ZVAL_COPY(&user->zoh, output_handler);
498 handler->func.user = user;
500 efree(user);
[all...]
H A Dfopen_wrappers.c369 char user[32]; /* to try open the directory */ local
383 if (length > (int)sizeof(user) - 1) {
384 length = sizeof(user) - 1;
386 memcpy(user, path_info + 2, length);
387 user[length] = '\0';
389 if (getpwnam_r(user, &pwstruc, pwbuf, pwbuflen, &pw)) {
394 pw = getpwnam(user);
H A Dmain.c573 STD_PHP_INI_ENTRY("user_ini.filename", ".user.ini", PHP_INI_SYSTEM, OnUpdateString, user_ini_filename, php_core_globals, core_globals)
814 * - the user wants to see the links
2559 zend_string *user; local
2561 user = php_base64_decode((const unsigned char*)auth + 6, strlen(auth) - 6);
2562 if (user) {
2563 pass = strchr(user->val, ':');
2566 SG(request_info).auth_user = estrndup(user->val, user->len);
2570 zend_string_free(user);
/PHP_TRUNK/ext/interbase/
H A Dibase_service.c136 /* user = 0, password = 1, first_name = 2, middle_name = 3, last_name = 4 */
183 Add a user to security database */
191 Modify a user in security database */
199 Delete a user from security database */
212 char buf[128], *host, *user, *pass, *loc; local
218 &host, &hlen, &user, &ulen, &pass, &plen)) {
226 user, isc_spb_password, (char)plen, pass, host);
245 svm->username = estrdup(user);
363 zval user; local
373 array_init(&user);
[all...]
/PHP_TRUNK/ext/xml/
H A Dcompat.c50 _start_element_handler(void *user, const xmlChar *name, const xmlChar **attributes) argument
52 XML_Parser parser = (XML_Parser) user;
76 parser->h_default(parser->user, (const XML_Char *) qualified_name, xmlStrlen(qualified_name));
84 parser->h_start_element(parser->user, (const XML_Char *) qualified_name, (const XML_Char **) attributes);
90 _start_element_handler_ns(void *user, const xmlChar *name, const xmlChar *prefix, const xmlChar *URI, int nb_namespaces, const xmlChar ** namespaces, int nb_attributes, int nb_defaulted, const xmlChar ** attributes) argument
92 XML_Parser parser = (XML_Parser) user;
101 parser->h_start_ns(parser->user, (const XML_Char *) namespaces[y], (const XML_Char *) namespaces[y+1]);
164 parser->h_default(parser->user, (const XML_Char *) qualified_name, xmlStrlen(qualified_name));
190 parser->h_start_element(parser->user, (const XML_Char *) qualified_name, (const XML_Char **) attrs);
201 _end_element_handler(void *user, cons argument
225 _end_element_handler_ns(void *user, const xmlChar *name, const xmlChar * prefix, const xmlChar *URI) argument
254 _cdata_handler(void *user, const xmlChar *cdata, int cdata_len) argument
269 _pi_handler(void *user, const xmlChar *target, const xmlChar *data) argument
287 _unparsed_entity_decl_handler(void *user, const xmlChar *name, const xmlChar *pub_id, const xmlChar *sys_id, const xmlChar *notation) argument
303 _notation_decl_handler(void *user, const xmlChar *notation, const xmlChar *pub_id, const xmlChar *sys_id) argument
328 _comment_handler(void *user, const xmlChar *comment) argument
354 _external_entity_ref_handler(void *user, const xmlChar *names, int type, const xmlChar *sys_id, const xmlChar *pub_id, xmlChar *content) argument
366 _get_entity(void *user, const xmlChar *name) argument
495 XML_SetUserData(XML_Parser parser, void *user) argument
[all...]
H A Dexpat_compat.h77 void *user; member in struct:_XML_Parser
/PHP_TRUNK/ext/ftp/
H A Dphp_ftp.c432 char *user, *pass; local
435 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rss", &z_ftp, &user, &user_len, &pass, &pass_len) == FAILURE) {
444 if (!ftp_login(ftp, user, pass)) {
H A Dftp.c246 ftp_login(ftpbuf_t *ftp, const char *user, const char *pass) argument
366 if (!ftp_putcmd(ftp, "USER", user)) {
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c104 ZEND_ARG_INFO(0, user)
1145 zend_string *mailbox, *user, *passwd; local
1152 if (zend_parse_parameters(argc, "PSS|lla", &mailbox, &user,
1222 IMAPG(imap_user) = estrndup(user->val, user->len);
1252 /* {{{ proto resource imap_open(string mailbox, string user, string password [, int options [, int n_retries]])
5071 PHP_IMAP_EXPORT void mm_login(NETMBX *mb, char *user, char *pwd, long trial) argument
5074 if (*mb->user) {
5075 strlcpy (user, mb->user, MAILTMPLE
[all...]
/PHP_TRUNK/ext/odbc/
H A Dbirdstep.c55 ZEND_ARG_INFO(0, user)
123 * but should in reality warn the user that this functionality is
285 /* {{{ proto int birdstep_connect(string server, string user, string pass)
289 char *serv, *user, *pass; local
296 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss", &serv, &serv_len, &user, &user_len, &pass, &pass_len) == FAILURE) {
310 stat = SQLConnect(hdbc, serv, SQL_NTS, user, SQL_NTS, pass, SQL_NTS);
312 php_error_docref(NULL, E_WARNING, "Birdstep: Could not connect to server \"%s\" for %s", serv, user);
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_api.c505 If the user has called $stmt->store_result() then we have asked
523 the user has called store_result(). if he does not there is no way to determine the
609 /* {{{ proto bool mysqli_change_user(object link, string user, string password, string database)
610 Change logged-in user of the active connection */
615 char *user, *password, *dbname; local
622 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Osss", &mysql_link, mysqli_link_class_entry, &user, &user_len, &password, &password_len, &dbname, &dbname_len) == FAILURE) {
632 rc = mysqlnd_change_user_ex(mysql->mysql, user, password, dbname, FALSE, (size_t) password_len);
634 rc = mysql_change_user(mysql->mysql, user, password, dbname);
975 QQ: Isn't it quite better to call zval_dtor(). What if the user has
1504 We create always persistent, as if the user wan
[all...]
/PHP_TRUNK/Zend/
H A Dzend.h184 } user; member in union:_zend_class_entry::__anon2
H A Dzend_builtin_functions.c1080 * properties, returned to user */
1527 Creates an alias for user defined class */
1551 zend_error(E_WARNING, "First argument of class_alias() must be a name of user defined class");
1638 Generates a user-level error/warning/notice message */
1667 Sets a user-defined error handler function. Returns the previously defined error handler, or false on error */
1695 if (Z_TYPE_P(error_handler) == IS_NULL) { /* unset user-defined handler */
1736 Sets a user-defined exception handler function. Returns the previously defined exception handler, or false on error */
1762 if (Z_TYPE_P(exception_handler) == IS_NULL) { /* unset user-defined handler */
1886 zval internal, user; local
1893 array_init(&user);
1896 zend_hash_apply_with_arguments(EG(function_table), copy_function_name, 2, &internal, &user); local
[all...]

Completed in 87 milliseconds

12