Searched defs:link (Results 1 - 21 of 21) sorted by relevance

/PHP_5_6/main/
H A Dalloca.c321 long link; /* Address of trailer block of previous member in struct:stk_trailer
377 trailer = (struct stk_trailer *) trailer->link;
397 trailer = (struct stk_trailer *) trailer->link;
/PHP_5_6/Zend/
H A Dzend_virtual_cwd.c232 CWD_API int php_sys_readlink(const char *link, char *target, size_t target_len){ /* {{{ */ argument
251 hFile = CreateFile(link, // file to open
1632 CWD_API int virtual_chown(const char *filename, uid_t owner, gid_t group, int link TSRMLS_DC) /* {{{ */
1643 if (link) {
/PHP_5_6/ext/mssql/
H A Dphp_mssql.c213 #define CHECK_LINK(link) { if (link==-1) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "A link to the server could not be established"); RETURN_FALSE; } }
363 dbcancel(result->mssql_ptr->link);
388 dbclose(mssql_ptr->link);
401 dbclose(mssql_ptr->link);
443 le_link = zend_register_list_destructors_ex(_close_mssql_link, NULL, "mssql link", module_number);
444 le_plink = zend_register_list_destructors_ex(NULL, _close_mssql_plink, "mssql link persistent", module_number);
642 /* try to find if we already have this link in our persistent list */
658 /* create the link */
764 int type,link; local
[all...]
H A Dphp_mssql.h84 #define coltype(j) dbcoltype(mssql_ptr->link,j)
85 #define intcol(i) ((int) *(DBINT *) dbdata(mssql_ptr->link,i))
86 #define smallintcol(i) ((int) *(DBSMALLINT *) dbdata(mssql_ptr->link,i))
87 #define tinyintcol(i) ((int) *(DBTINYINT *) dbdata(mssql_ptr->link,i))
89 #define charcol(i) ((DBCHAR *) dbdata(mssql_ptr->link,i))
90 #define floatcol4(i) (*(DBFLT4 *) dbdata(mssql_ptr->link,i))
91 #define floatcol8(i) (*(DBFLT8 *) dbdata(mssql_ptr->link,i))
139 DBPROCESS *link; member in struct:mssql_link
145 mssql_link *link; member in struct:mssql_statement
/PHP_5_6/ext/pdo_dblib/
H A Dphp_pdo_dblib_int.h113 DBPROCESS *link; member in struct:__anon158
/PHP_5_6/ext/phar/
H A Dphar_internal.h231 this entry stores the stream to open in link (normally used for tars, but we steal it here) */
263 char *link; /* symbolic link to another file */ member in struct:_phar_entry_info
H A Dtar.h49 char link; /* indicator for links; member in struct:_old_tar_header
51 2 for a symbolic link,
76 2 Symbolic link
H A Dutil.c48 if (!entry->link) {
51 if (entry->link[0] == '/') {
52 return estrdup(entry->link + 1);
57 spprintf(&ret, 0, "%s/%s", entry->filename, entry->link);
60 return entry->link;
67 char *link; local
69 if (!entry->link) {
73 link = phar_get_link_location(entry TSRMLS_CC);
74 if (SUCCESS == zend_hash_find(&(entry->phar->manifest), entry->link, strlen(entry->link), (voi
649 phar_entry_info *link; local
863 phar_entry_info *link; local
[all...]
H A Dphar_object.c1980 phar_entry_info *link; local
1997 link = phar_get_link_source(entry TSRMLS_CC);
1999 if (!link) {
2000 link = entry;
2003 if (SUCCESS != php_stream_copy_to_stream_ex(phar_get_efp(link, 0 TSRMLS_CC), fp, link->uncompressed_filesize, NULL)) {
2288 if (newentry.link) {
2289 newentry.link = estrdup(newentry.link);
4805 phar_entry_info *link; local
[all...]
/PHP_5_6/ext/standard/
H A Dlink.c54 Return the target of a symbolic link */
57 char *link; local
62 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &link, &link_len) == FAILURE) {
66 if (php_check_open_basedir(link TSRMLS_CC)) {
70 ret = php_sys_readlink(link, buff, MAXPATHLEN-1);
84 Returns the st_dev field of the UNIX C stat structure describing the link */
87 char *link; local
93 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &link, &link_len) == FAILURE) {
97 dirname = estrndup(link, link_len);
105 ret = VCWD_LSTAT(link,
[all...]
H A Dlink_win32.c47 - Create php_readlink (done), php_link and php_symlink in win32/link.c
49 - define link/readlink/symlink to their php_ equivalent and use them in ext/standart/link.c
50 - this file is then useless and we have a portable link API
62 Return the target of a symbolic link */
65 char *link; local
69 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &link, &link_len) == FAILURE) {
73 if (OPENBASEDIR_CHECKPATH(link)) {
77 if (php_sys_readlink(link, target, MAXPATHLEN) == -1) {
78 php_error_docref(NULL TSRMLS_CC, E_WARNING, "readlink failed to read the symbolic link (
89 char *link; local
[all...]
H A Dphp_link.h26 PHP_FUNCTION(link); variable
/PHP_5_6/ext/sybase_ct/
H A Dphp_sybase_ct.c235 #define CHECK_LINK(link) { if (link==-1) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase: A link to the server could not be established"); RETURN_FALSE; } }
476 /* Retrieve sybase link */
497 /* Call link specific message handler */
584 le_link = zend_register_list_destructors_ex(_close_sybase_link, NULL, "sybase-ct link", module_number);
585 le_plink = zend_register_list_destructors_ex(NULL, _close_sybase_plink, "sybase-ct link persistent", module_number);
711 /* create the link */
764 /* try to find if we already have this link in our persistent list */
812 /* If the link ha
856 int type, link; local
[all...]
/PHP_5_6/ext/oci8/
H A Doci8.c1940 int type, link; local
1943 link = OCI8_PTR_TO_INT(le->ptr);
1944 ptr = zend_list_find(link,&type);
2457 /* Cut the link between the connection structure and the time_t structure allocated within
/PHP_5_6/ext/interbase/
H A Dibase_blobs.c207 zval *link = NULL; local
214 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|r", &link)) {
218 PHP_IBASE_LINK_TRANS(link, ib_link, trans);
240 zval *link = NULL; local
256 if (FAILURE == zend_parse_parameters(2 TSRMLS_CC, "rs", &link, &blob_id, &blob_id_len)) {
262 PHP_IBASE_LINK_TRANS(link, ib_link, trans);
402 zval *link = NULL; local
419 if (FAILURE == zend_parse_parameters(2 TSRMLS_CC, "rs", &link, &blob_id, &blob_id_len)) {
425 PHP_IBASE_LINK_TRANS(link, ib_link, trans);
478 zval *link local
539 zval *link = NULL, *file; local
[all...]
H A Dibase_query.c48 ibase_db_link *link; member in struct:__anon3
59 ibase_db_link *link; member in struct:_ib_query
119 static void _php_ibase_free_stmt_handle(ibase_db_link *link, isc_stmt_handle stmt TSRMLS_DC) /* {{{ */ argument
127 if (SUCCESS == isc_database_info(IB_STATUS, &link->handle,
148 _php_ibase_free_stmt_handle(ib_result->link, ib_result->stmt TSRMLS_CC);
169 _php_ibase_free_stmt_handle(ib_query->link, ib_query->stmt TSRMLS_CC);
205 isc_db_handle link, isc_tr_handle trans, unsigned short *array_cnt TSRMLS_DC)
229 if (isc_array_lookup_bounds(IB_STATUS, &link, &trans, var->relname,
315 static int _php_ibase_alloc_query(ibase_query *ib_query, ibase_db_link *link, /* {{{ */ argument
327 ib_query->link
204 _php_ibase_alloc_array(ibase_array **ib_arrayp, XSQLDA *sqlda, isc_db_handle link, isc_tr_handle trans, unsigned short *array_cnt TSRMLS_DC) argument
[all...]
H A Dinterbase.c44 #define CHECK_LINK(link) { if (link==-1) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "A link to the server could not be established"); RETURN_FALSE; } }
551 /* Fill ib_link and trans with the correct database link and transaction. */
557 IBDEBUG("Transaction or database link?");
560 /* Transaction resource: make sure it refers to one link only, then
561 fetch it; database link is stored in ib_trans->db_link[]. */
573 IBDEBUG("Type is le_[p]link or id not found");
574 /* Database link resource, use default transaction. */
582 static void _php_ibase_commit_link(ibase_db_link *link TSRMLS_D
632 ibase_db_link *link = (ibase_db_link *) rsrc->ptr; local
640 ibase_db_link *link = (ibase_db_link *) rsrc->ptr; local
654 ibase_db_link *link = (ibase_db_link *) rsrc->ptr; local
1414 zval *link = NULL; local
[all...]
H A Dphp_ibase_includes.h49 #define LE_LINK "Firebird/InterBase link"
50 #define LE_PLINK "Firebird/InterBase persistent link"
98 ibase_db_link *link; member in struct:event
157 /* determine if a resource is a link or transaction handle */
161 "InterBase link", le_link, le_plink) } \
/PHP_5_6/ext/mysql/
H A Dphp_mysql.c366 #define CHECK_LINK(link) { if (link==-1) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "A link to the server could not be established"); RETURN_FALSE; } }
452 php_mysql_conn *link = (php_mysql_conn *)rsrc->ptr; local
456 mysql_close(link->conn);
458 efree(link);
467 php_mysql_conn *link = (php_mysql_conn *)rsrc->ptr; local
471 mysql_close(link->conn);
474 free(link);
564 le_link = zend_register_list_destructors_ex(_close_mysql_link, NULL, "mysql link", module_numbe
964 long link; local
[all...]
/PHP_5_6/ext/ldap/
H A Dldap.c74 LDAP *link; member in struct:__anon1
99 ldap_unbind_s(ld->link);
213 le_link = zend_register_list_destructors_ex(_close_ldap_link, NULL, "ldap link", module_number);
367 ld->link = ldap;
394 /* {{{ proto bool ldap_bind(resource link [, string dn [, string password]])
398 zval *link; local
404 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|ss", &link, &ldap_bind_dn, &ldap_bind_dnlen, &ldap_bind_pw, &ldap_bind_pwlen) != SUCCESS) {
418 ZEND_FETCH_RESOURCE(ld, ldap_linkdata *, &link, -1, "ldap link", le_link);
420 if ((rc = ldap_bind_s(ld->link, ldap_bind_d
518 zval *link; local
558 zval *link; local
615 zval *link, *base_dn, **filter, *attrs = NULL, **attr; local
866 zval *link, *result; local
885 zval *link, *result; local
914 zval *link, *result_entry; local
943 zval *link, *result; local
1038 zval *link, *result_entry; local
1066 zval *link, *result_entry; local
1105 zval *link, *result_entry; local
1160 zval *link, *result_entry; local
1196 zval *link, *result_entry; local
1285 zval *link, *entry, **value, **ivalue; local
1440 zval *link; local
1514 zval *link, *mods, *mod, *modinfo, *modval; local
1813 zval *link; local
1844 zval *link; local
1864 zval *link; local
1897 zval *link, *result; local
1928 zval *link, *retval; local
2032 zval *link, **newval; local
2202 zval *link, *result, *errcode, *matcheddn, *errmsg, *referrals; local
2269 zval *link, *result; local
2298 zval *link, *result_entry; local
2328 zval *link, *result_entry, *referrals; local
2363 zval *link; local
2403 zval *link; local
2470 zval *link, *callback; local
2647 zval *link; local
2737 zval *link, *result, *cookie, *estimated; local
[all...]
/PHP_5_6/ext/pgsql/
H A Dpgsql.c89 #define CHECK_DEFAULT_LINK(x) if ((x) == -1) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PostgreSQL link opened yet"); }
930 PGconn *link = (PGconn *)rsrc->ptr; local
933 while ((res = PQgetResult(link))) {
936 PQfinish(link);
945 PGconn *link = (PGconn *)rsrc->ptr; local
948 while ((res = PQgetResult(link))) {
951 PQfinish(link);
994 PGconn *link; local
1001 link = (PGconn *) rsrc->ptr;
1003 if (PQ_SETNONBLOCKING(link,
1417 ulong link; local
[all...]

Completed in 155 milliseconds