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

12

/PHP_5_4/sapi/fpm/fpm/
H A Dfpm_worker_pool.h24 char *user, *home; /* for setting env USER and HOME */ member in struct:fpm_worker_pool_s
H A Dfpm_conf.h57 char *user; member in struct:fpm_worker_pool_config_s
/PHP_5_4/ext/session/
H A Dmod_user.h27 PS_FUNCS(user); variable
/PHP_5_4/ext/soap/
H A Dphp_sdl.c3232 char *user = php_get_current_user(TSRMLS_C); local
3233 int user_len = user ? strlen(user) + 1 : 0;
3245 memcpy(key+len, user, user_len-1);
/PHP_5_4/ext/standard/
H A Dfilestat.c561 zval *user; local
568 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pz/", &filename, &filename_len, &user) == FAILURE) {
577 if (Z_TYPE_P(user) == IS_LONG) {
579 value = &Z_LVAL_P(user);
580 } else if (Z_TYPE_P(user) == IS_STRING) {
582 value = Z_STRVAL_P(user);
584 php_error_docref(NULL TSRMLS_CC, E_WARNING, "parameter 2 should be string or integer, %s given", zend_zval_type_name(user));
606 if (Z_TYPE_P(user) == IS_LONG) {
607 uid = (uid_t)Z_LVAL_P(user);
608 } else if (Z_TYPE_P(user)
[all...]
H A Durl.h25 char *user; member in struct:php_url
/PHP_5_4/ext/sybase_ct/
H A Dphp_sybase_ct.c47 ZEND_ARG_INFO(0, user)
56 ZEND_ARG_INFO(0, user)
629 static int php_sybase_do_connect_internal(sybase_link *sybase, char *host, char *user, char *passwd, char *charset, char *appname TSRMLS_DC) argument
647 if (user) {
648 ct_con_props(sybase->connection, CS_SET, CS_USERNAME, user, CS_NULLTERM, NULL);
731 char *user = NULL, *passwd = NULL, *host = NULL, *charset = NULL, *appname = NULL; local
737 host= user= passwd= charset= appname= NULL;
739 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!s!s!s!s!", &host, &len, &user, &len, &passwd, &len, &charset, &len, &appname, &len) == FAILURE) {
743 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!s!s!s!s!b", &host, &len, &user, &len, &passwd, &len, &charset, &len, &appname, &len, &new) == FAILURE) {
752 user
[all...]
/PHP_5_4/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);
205 parser->h_end_ns(parser->user, nspt
210 _end_element_handler(void *user, const xmlChar *name) argument
234 _end_element_handler_ns(void *user, const xmlChar *name, const xmlChar * prefix, const xmlChar *URI) argument
263 _cdata_handler(void *user, const xmlChar *cdata, int cdata_len) argument
278 _pi_handler(void *user, const xmlChar *target, const xmlChar *data) argument
296 _unparsed_entity_decl_handler(void *user, const xmlChar *name, const xmlChar *pub_id, const xmlChar *sys_id, const xmlChar *notation) argument
312 _notation_decl_handler(void *user, const xmlChar *notation, const xmlChar *pub_id, const xmlChar *sys_id) argument
337 _comment_handler(void *user, const xmlChar *comment) argument
363 _external_entity_ref_handler(void *user, const xmlChar *names, int type, const xmlChar *sys_id, const xmlChar *pub_id, xmlChar *content) argument
375 _get_entity(void *user, const xmlChar *name) argument
504 XML_SetUserData(XML_Parser parser, void *user) argument
[all...]
H A Dexpat_compat.h66 void *user; member in struct:_XML_Parser
/PHP_5_4/main/
H A Dfopen_wrappers.c373 char user[32]; /* to try open the directory */ local
387 if (length > (int)sizeof(user) - 1) {
388 length = sizeof(user) - 1;
390 memcpy(user, path_info + 2, length);
391 user[length] = '\0';
393 if (getpwnam_r(user, &pwstruc, pwbuf, pwbuflen, &pw)) {
398 pw = getpwnam(user);
H A Dphp_output.h141 php_output_handler_user_func_t *user; member in union:_php_output_handler::__anon294
H A Doutput.c449 * Start a user level output handler */
484 * Create a user level output handler */
490 php_output_handler_user_func_t *user = NULL; local
502 user = ecalloc(1, sizeof(php_output_handler_user_func_t));
503 if (SUCCESS == zend_fcall_info_init(output_handler, 0, &user->fci, &user->fcc, &handler_name, &error TSRMLS_CC)) {
506 user->zoh = output_handler;
507 handler->func.user = user;
509 efree(user);
[all...]
H A Dmain.c570 STD_PHP_INI_ENTRY("user_ini.filename", ".user.ini", PHP_INI_SYSTEM, OnUpdateString, user_ini_filename, php_core_globals, core_globals)
808 * - the user wants to see the links
2581 char *user; local
2583 user = php_base64_decode(auth + 6, strlen(auth) - 6, NULL);
2584 if (user) {
2585 pass = strchr(user, ':');
2588 SG(request_info).auth_user = user;
2592 efree(user);
/PHP_5_4/ext/ftp/
H A Dftp.c247 ftp_login(ftpbuf_t *ftp, const char *user, const char *pass TSRMLS_DC) argument
334 if (!ftp_putcmd(ftp, "USER", user)) {
H A Dphp_ftp.c416 char *user, *pass; local
419 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rss", &z_ftp, &user, &user_len, &pass, &pass_len) == FAILURE) {
426 if (!ftp_login(ftp, user, pass TSRMLS_CC)) {
/PHP_5_4/ext/mssql/
H A Dphp_mssql.c541 char *host = NULL, *user = NULL, *passwd = NULL; local
549 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sssb", &host, &host_len, &user, &user_len, &passwd, &passwd_len, &new_link) == FAILURE) {
558 user[255] = '\0';
576 hashed_details_length = spprintf(&hashed_details, 0, "mssql_%s_%s_", host, user);
580 hashed_details_length = spprintf(&hashed_details, 0, "mssql_%s_%s_%s", host, user, passwd);
607 if (user) {
608 DBSETLUSER(mssql.login,user);
/PHP_5_4/ext/mysql/
H A Dphp_mysql.c722 char *user=NULL, *passwd=NULL, *host_and_port=NULL, *socket=NULL, *tmp=NULL, *host=NULL; local
765 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "SQL safe mode in effect - ignoring host/user/password information");
768 user=php_get_current_user(TSRMLS_C);
769 hashed_details_length = spprintf(&hashed_details, 0, "mysql__%s_", user);
775 &user, &user_len, &passwd, &passwd_len,
781 &user, &user_len, &passwd, &passwd_len,
790 if (!user) {
791 user = MySG(default_user);
813 hashed_details_length = spprintf(&hashed_details, 0, "mysql_%s_%s_%s_%ld", SAFE_STRING(host_and_port), SAFE_STRING(user), SAFE_STRING(passwd), client_flags);
883 if (mysql_real_connect(mysql->conn, host, user, passw
[all...]
/PHP_5_4/ext/mysqlnd/
H A Dmysqlnd.c57 "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 "
126 if (conn->user) {
127 mnd_pefree(conn->user, pers);
128 conn->user = NULL;
477 const char * const user,
558 auth_plugin->methods.get_auth_data(NULL, &scrambled_data_len, conn, user, passwd, passwd_len,
562 ret = mysqlnd_auth_handshake(conn, user, passwd, passwd_len, db, db_len, options, mysql_flags,
609 const char *host, const char *user,
637 DBG_INF_FMT("host=%s user
475 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, unsigned long mysql_flags TSRMLS_DC) argument
989 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 TSRMLS_DC) argument
[all...]
H A Dmysqlnd_auth.c35 const char * const user,
99 auth_packet->user = user;
157 const char * const user,
213 auth_packet->user = user;
276 /* if we get conn->user as parameter and then we first free it, then estrndup it, we will crash */
277 tmp = mnd_pestrndup(user, user_len, conn->persistent);
278 if (conn->user) {
279 mnd_pefree(conn->user, con
34 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, unsigned long 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 TSRMLS_DC) argument
156 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 TSRMLS_DC) argument
359 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, unsigned long mysql_flags TSRMLS_DC) argument
417 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, unsigned long mysql_flags TSRMLS_DC) argument
[all...]
H A Dmysqlnd_wireprotocol.h96 const char *user; member in struct:st_mysqlnd_packet_auth
101 /* Here the packet ends. This is user supplied data */
/PHP_5_4/ext/oci8/
H A Doci8_interface.c1594 /* {{{ proto resource oci_new_connect(string user, string pass [, string db])
1602 /* {{{ proto resource oci_connect(string user, string pass [, string db [, string charset [, int session_mode ]])
1610 /* {{{ proto resource oci_pconnect(string user, string pass [, string db [, string charset ]])
1909 char *user, *pass_old, *pass_new, *dbname; local
1921 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "rsss", &z_connection, &user, &user_len, &pass_old, &pass_old_len, &pass_new, &pass_new_len) == SUCCESS) {
1937 if (php_oci_password_change(connection, user, user_len, pass_old, pass_old_len, pass_new, pass_new_len TSRMLS_CC)) {
1941 } else if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "ssss", &dbname, &dbname_len, &user, &user_len, &pass_old, &pass_old_len, &pass_new, &pass_new_len) == SUCCESS) {
1956 connection = php_oci_do_connect_ex(user, user_len, pass_old, pass_old_len, pass_new, pass_new_len, dbname, dbname_len, NULL, OCI_DEFAULT, 0, 0 TSRMLS_CC);
/PHP_5_4/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() TSRMLS_CC, "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 TSRMLS_CC, E_WARNING, "Birdstep: Could not connect to server \"%s\" for %s", serv, user);
/PHP_5_4/ext/mysqli/
H A Dmysqli_api.c391 If the user has called $stmt->store_result() then we have asked
409 the user has called store_result(). if he does not there is no way to determine the
516 /* {{{ proto bool mysqli_change_user(object link, string user, string password, string database)
517 Change logged-in user of the active connection */
522 char *user, *password, *dbname; local
529 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Osss", &mysql_link, mysqli_link_class_entry, &user, &user_len, &password, &password_len, &dbname, &dbname_len) == FAILURE) {
539 rc = mysqlnd_change_user_ex(mysql->mysql, user, password, dbname, FALSE, (size_t) password_len);
541 rc = mysql_change_user(mysql->mysql, user, password, dbname);
884 QQ: Isn't it quite better to call zval_dtor(). What if the user has
1385 We create always persistent, as if the user wan
[all...]
/PHP_5_4/ext/interbase/
H A Dibase_service.c136 /* user = 0, password = 1, first_name = 2, middle_name = 3, last_name = 4 */
184 Add a user to security database */
192 Modify a user in security database */
200 Delete a user from security database */
213 char buf[128], *host, *user, *pass, *loc; local
219 &host, &hlen, &user, &ulen, &pass, &plen)) {
227 user, isc_spb_password, (char)plen, pass, host);
246 svm->username = estrdup(user);
361 zval *user; local
371 ALLOC_INIT_ZVAL(user);
[all...]
/PHP_5_4/Zend/
H A Dzend_builtin_functions.c945 * properties, returned to user */
1388 Creates an alias for user defined class */
1413 zend_error(E_WARNING, "First argument of class_alias() must be a name of user defined class");
1493 Generates a user-level error/warning/notice message */
1523 Sets a user-defined error handler function. Returns the previously defined error handler, or false on error */
1553 if (!zend_is_true(error_handler)) { /* unset user-defined handler */
1595 Sets a user-defined exception handler function. Returns the previously defined exception handler, or false on error */
1624 if (Z_TYPE_P(exception_handler) == IS_NULL) { /* unset user-defined handler */
1750 zval *user; local
1757 MAKE_STD_ZVAL(user);
[all...]

Completed in 83 milliseconds

12