Searched defs:hostname (Results 1 - 8 of 8) sorted by relevance

/PHP_TRUNK/ext/sybase_ct/
H A Dphp_sybase_ct.h71 char *hostname; variable
/PHP_TRUNK/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_TRUNK/ext/interbase/
H A Dibase_service.c32 char *hostname; member in struct:__anon27
47 if (sv->hostname) {
48 efree(sv->hostname);
245 svm->hostname = estrdup(host);
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_nonapi.c64 char *hostname = NULL, *username=NULL, *passwd=NULL, *dbname=NULL, *socket=NULL; local
87 hostname = username = dbname = passwd = socket = NULL;
90 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ssssls", &hostname, &hostname_len, &username, &username_len,
109 &hostname, &hostname_len, &username, &username_len, &passwd, &passwd_len, &dbname, &dbname_len, &port, &socket, &socket_len,
139 if (!hostname || !hostname_len) {
140 hostname = MyG(default_host);
150 if (strlen(SAFE_STR(hostname)) > 2 && !strncasecmp(hostname, "p:", 2)) {
151 hostname += 2;
157 hash_key = strpprintf(0, "mysqli_%s_%s%ld%s%s%s", SAFE_STR(hostname), SAFE_ST
[all...]
/PHP_TRUNK/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]])
2128 add_assoc_zval(retval, "hostname", &val);
/PHP_TRUNK/ext/standard/
H A Ddns.c69 /* For the local hostname obtained via gethostname which is different from the
157 zend_string *hostname; local
163 hostname = php_gethostbyaddr(addr);
165 if (hostname == NULL) {
173 RETVAL_STR(hostname);
213 /* {{{ proto string gethostbyname(string hostname)
217 char *hostname; local
220 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &hostname_len) == FAILURE) {
224 RETURN_STR(php_gethostbyname(hostname));
228 /* {{{ proto array gethostbynamel(string hostname)
232 char *hostname; local
347 char *hostname, *rectype = NULL; local
755 char *hostname; local
967 char *hostname; local
[all...]
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);
344 /* {{{ proto array|false dns_get_record(string hostname [, int type[, array authns, array addtl]])
348 char *hostname; local
356 &hostname, &hostname_len, &type_param, &authns, &addtl, &raw) == FAILURE) {
453 status = DnsQuery_A(hostname, type_to_fetc
[all...]
H A Dfsock.c44 char *hostname = NULL; local
59 hostname_len = spprintf(&hostname, 0, "%s:" ZEND_LONG_FMT, host, port);
62 hostname = host;
79 stream = php_stream_xport_create(hostname, hostname_len, REPORT_ERRORS,
83 efree(hostname);
118 /* {{{ 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]]])

Completed in 13 milliseconds