Searched refs:hostname (Results 1 - 15 of 15) sorted by relevance

/PHP_5_4/ext/oci8/tests/
H A Ddetails.inc11 * string like hostname:port/service_name:POOLED
/PHP_5_4/build/
H A Dshtool679 hostname=''
682 hostname="`(uname -n) 2>/dev/null |\
684 if [ ".$hostname" = . ]; then
685 hostname="`(hostname) 2>/dev/null |\
687 if [ ".$hostname" = . ]; then
688 hostname='unknown'
691 case $hostname in
693 domainname=".`echo $hostname | cut -d. -f2-`"
694 hostname
[all...]
/PHP_5_4/ext/snmp/
H A Dsnmp.c1127 static int netsnmp_session_init(php_snmp_session **session_p, int version, char *hostname, char *community, int timeout, int retries TSRMLS_DC) argument
1151 php_error_docref(NULL TSRMLS_CC, E_WARNING, "emalloc() failed while copying hostname");
1154 /* we copy original hostname for further processing */
1155 strlcpy(session->peername, hostname, MAX_NAME_LEN);
1158 /* Reading the hostname and its optional non-default port number */
1217 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown failure while resolving '%s'", hostname);
1808 /* {{{ proto SNMP SNMP::__construct(int version, string hostname, string community|securityName [, long timeout [, long retries]])
2143 add_assoc_zval(*retval, "hostname", val);
/PHP_5_4/ext/standard/
H A Ddns.c69 /* For the local hostname obtained via gethostname which is different from the
157 char *hostname; local
163 hostname = php_gethostbyaddr(addr);
165 if (hostname == NULL) {
173 RETVAL_STRING(hostname, 0);
213 /* {{{ proto string gethostbyname(string hostname)
217 char *hostname; local
221 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &hostname_len) == FAILURE) {
225 addr = php_gethostbyname(hostname);
231 /* {{{ proto array gethostbynamel(string hostname)
235 char *hostname; local
348 char *hostname, *rectype = NULL; local
716 char *hostname; local
928 char *hostname; local
[all...]
H A Dfsock.c44 char *hostname = NULL; local
59 hostname_len = spprintf(&hostname, 0, "%s:%ld", host, port);
62 hostname = host;
79 stream = php_stream_xport_create(hostname, hostname_len, REPORT_ERRORS,
83 efree(hostname);
119 /* {{{ proto resource fsockopen(string hostname, int port [, int errno [, string errstr [, float timeout]]])
126 /* {{{ proto resource pfsockopen(string hostname, int port [, int errno [, string errstr [, float timeout]]])
H A Dbasic_functions.c982 ZEND_ARG_INFO(0, hostname)
986 ZEND_ARG_INFO(0, hostname)
1002 ZEND_ARG_INFO(0, hostname)
1010 ZEND_ARG_INFO(0, hostname)
1419 ZEND_ARG_INFO(0, hostname)
1427 ZEND_ARG_INFO(0, hostname)
H A Ddns_win32.c46 char *hostname; local
53 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz|z", &hostname, &hostname_len, &mx_list, &weight_list) == FAILURE) {
57 status = DnsQuery_A(hostname, DNS_TYPE_MX, DNS_QUERY_STANDARD, NULL, &pResult, NULL);
95 char *hostname, *rectype = NULL; local
102 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &hostname, &hostname_len, &rectype, &rectype_len) == FAILURE) {
130 status = DnsQuery_A(hostname, type, DNS_QUERY_STANDARD, NULL, &pResult, NULL);
346 /* {{{ proto array|false dns_get_record(string hostname [, int type[, array authns, array addtl]])
350 char *hostname; local
358 &hostname, &hostname_len, &type_param, &authns, &addtl, &raw) == FAILURE) {
455 status = DnsQuery_A(hostname, type_to_fetc
[all...]
/PHP_5_4/ext/sybase_ct/
H A Dphp_sybase_ct.c519 STD_PHP_INI_ENTRY("sybct.hostname", NULL, PHP_INI_ALL, OnUpdateString, hostname, zend_sybase_globals, sybase_globals)
659 if (SybCtG(hostname)) {
660 ct_con_props(sybase->connection, CS_SET, CS_HOSTNAME, SybCtG(hostname), CS_NULLTERM, NULL);
H A Dphp_sybase_ct.h71 char *hostname; variable
/PHP_5_4/sapi/apache_hooks/
H A Dphp_apache.c382 /* {{{ proto string ApacheRequest::hostname()
386 apache_request_read_string_slot(offsetof(request_rec, hostname), INTERNAL_FUNCTION_PARAM_PASSTHRU);
1301 PHP_FALIAS(hostname, apache_request_hostname, NULL)
/PHP_5_4/ext/mysql/
H A Dphp_mysql.c140 ZEND_ARG_INFO(0, hostname)
148 ZEND_ARG_INFO(0, hostname)
1065 /* {{{ proto resource mysql_connect([string hostname[:port][:/path/to/socket] [, string username [, string password [, bool new [, int flags]]]]])
1073 /* {{{ proto resource mysql_pconnect([string hostname[:port][:/path/to/socket] [, string username [, string password [, int flags]]]])
/PHP_5_4/ext/mysqli/
H A Dmysqli_nonapi.c64 char *hostname = NULL, *username=NULL, *passwd=NULL, *dbname=NULL, *socket=NULL; local
88 hostname = username = dbname = passwd = socket = NULL;
91 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ssssls", &hostname, &hostname_len, &username, &username_len,
110 &hostname, &hostname_len, &username, &username_len, &passwd, &passwd_len, &dbname, &dbname_len, &port, &socket, &socket_len,
140 if (!hostname || !hostname_len) {
141 hostname = MyG(default_host);
151 if (strlen(SAFE_STR(hostname)) > 2 && !strncasecmp(hostname, "p:", 2)) {
152 hostname += 2;
158 hash_len = spprintf(&hash_key, 0, "mysqli_%s_%s%ld%s%s%s", SAFE_STR(hostname), SAFE_ST
[all...]
/PHP_5_4/sapi/milter/
H A Dphp_milter.c177 static sfsistat mlfi_connect(SMFICTX *ctx, char *hostname, _SOCK_ADDR *hostaddr) argument
221 ZVAL_STRING(param[0], hostname, 1);
/PHP_5_4/ext/interbase/
H A Dibase_service.c32 char *hostname; member in struct:__anon7
47 if (sv->hostname) {
48 efree(sv->hostname);
245 svm->hostname = estrdup(host);
/PHP_5_4/ext/ldap/
H A Dldap.c2745 ZEND_ARG_INFO(0, hostname)

Completed in 37 milliseconds