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

/PHP_5_3/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_3/TSRM/
H A Dtsrm_virtual_cwd.c222 CWD_API int php_sys_readlink(const char *link, char *target, size_t target_len){ /* {{{ */ argument
241 hFile = CreateFile(link, // file to open
1617 CWD_API int virtual_chown(const char *filename, uid_t owner, gid_t group, int link TSRMLS_DC) /* {{{ */
1628 if (link) {
/PHP_5_3/ext/interbase/
H A Dibase_blobs.c209 zval *link = NULL; local
216 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|r", &link)) {
220 PHP_IBASE_LINK_TRANS(link, ib_link, trans);
242 zval *link = NULL; local
258 if (FAILURE == zend_parse_parameters(2 TSRMLS_CC, "rs", &link, &blob_id, &blob_id_len)) {
264 PHP_IBASE_LINK_TRANS(link, ib_link, trans);
404 zval *link = NULL; local
421 if (FAILURE == zend_parse_parameters(2 TSRMLS_CC, "rs", &link, &blob_id, &blob_id_len)) {
427 PHP_IBASE_LINK_TRANS(link, ib_link, trans);
480 zval *link local
541 zval *link = NULL, *file; local
[all...]
H A Dibase_query.c50 ibase_db_link *link; member in struct:__anon84
61 ibase_db_link *link; member in struct:_ib_query
121 static void _php_ibase_free_stmt_handle(ibase_db_link *link, isc_stmt_handle stmt TSRMLS_DC) /* {{{ */ argument
129 if (SUCCESS == isc_database_info(IB_STATUS, &link->handle,
150 _php_ibase_free_stmt_handle(ib_result->link, ib_result->stmt TSRMLS_CC);
171 _php_ibase_free_stmt_handle(ib_query->link, ib_query->stmt TSRMLS_CC);
207 isc_db_handle link, isc_tr_handle trans, unsigned short *array_cnt TSRMLS_DC)
231 if (isc_array_lookup_bounds(IB_STATUS, &link, &trans, var->relname,
317 static int _php_ibase_alloc_query(ibase_query *ib_query, ibase_db_link *link, /* {{{ */ argument
329 ib_query->link
206 _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.c46 #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; } }
553 /* Fill ib_link and trans with the correct database link and transaction. */
559 IBDEBUG("Transaction or database link?");
562 /* Transaction resource: make sure it refers to one link only, then
563 fetch it; database link is stored in ib_trans->db_link[]. */
575 IBDEBUG("Type is le_[p]link or id not found");
576 /* Database link resource, use default transaction. */
584 static void _php_ibase_commit_link(ibase_db_link *link TSRMLS_D
634 ibase_db_link *link = (ibase_db_link *) rsrc->ptr; local
642 ibase_db_link *link = (ibase_db_link *) rsrc->ptr; local
656 ibase_db_link *link = (ibase_db_link *) rsrc->ptr; local
1416 zval *link = NULL; local
[all...]
H A Dphp_ibase_includes.h50 #define LE_LINK "Firebird/InterBase link"
51 #define LE_PLINK "Firebird/InterBase persistent link"
99 ibase_db_link *link; member in struct:event
158 /* determine if a resource is a link or transaction handle */
162 "InterBase link", le_link, le_plink) } \
/PHP_5_3/ext/ldap/
H A Dldap.c71 LDAP *link; member in struct:__anon93
96 ldap_unbind_s(ld->link);
198 le_link = zend_register_list_destructors_ex(_close_ldap_link, NULL, "ldap link", module_number);
352 ld->link = ldap;
379 /* {{{ proto bool ldap_bind(resource link [, string dn [, string password]])
383 zval *link; local
389 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) {
393 ZEND_FETCH_RESOURCE(ld, ldap_linkdata *, &link, -1, "ldap link", le_link);
395 if ((rc = ldap_bind_s(ld->link, ldap_bind_d
493 zval *link; local
533 zval *link; local
590 zval *link, *base_dn, **filter, *attrs, **attr; local
841 zval *link, *result; local
860 zval *link, *result; local
889 zval *link, *result_entry; local
918 zval *link, *result; local
1013 zval *link, *result_entry; local
1041 zval *link, *result_entry; local
1080 zval *link, *result_entry; local
1135 zval *link, *result_entry; local
1171 zval *link, *result_entry; local
1260 zval *link, *entry, **value, **ivalue; local
1415 zval *link; local
1439 zval *link; local
1470 zval *link; local
1490 zval *link; local
1523 zval *link, *result; local
1554 zval *link, *retval; local
1658 zval *link, **newval; local
1828 zval *link, *result, *errcode, *matcheddn, *errmsg, *referrals; local
1895 zval *link, *result; local
1924 zval *link, *result_entry; local
1954 zval *link, *result_entry, *referrals; local
1989 zval *link; local
2029 zval *link; local
2096 zval *link, *callback; local
[all...]
/PHP_5_3/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; } }
358 dbcancel(result->mssql_ptr->link);
383 dbclose(mssql_ptr->link);
396 dbclose(mssql_ptr->link);
438 le_link = zend_register_list_destructors_ex(_close_mssql_link, NULL, "mssql link", module_number);
439 le_plink = zend_register_list_destructors_ex(NULL, _close_mssql_plink, "mssql link persistent", module_number);
637 /* try to find if we already have this link in our persistent list */
653 /* create the link */
759 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_3/ext/oci8/
H A Doci8.c1900 int type, link; local
1903 link = OCI8_PTR_TO_INT(le->ptr);
1904 ptr = zend_list_find(link,&type);
2414 /* Cut the link between the connection structure and the time_t structure allocated within
/PHP_5_3/ext/pdo_dblib/
H A Dphp_pdo_dblib_int.h111 DBPROCESS *link; member in struct:__anon128
/PHP_5_3/ext/standard/
H A Dlink.c55 Return the target of a symbolic link */
58 char *link; local
63 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &link, &link_len) == FAILURE) {
67 if (strlen(link) != link_len) {
71 if (PG(safe_mode) && !php_checkuid(link, NULL, CHECKUID_CHECK_FILE_AND_DIR)) {
75 if (php_check_open_basedir(link TSRMLS_CC)) {
79 ret = php_sys_readlink(link, buff, MAXPATHLEN-1);
93 Returns the st_dev field of the UNIX C stat structure describing the link */
96 char *link; local
102 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &link,
[all...]
H A Dlink_win32.c48 - Create php_readlink (done), php_link and php_symlink in win32/link.c
50 - define link/readlink/symlink to their php_ equivalent and use them in ext/standart/link.c
51 - this file is then useless and we have a portable link API
55 Return the target of a symbolic link */
58 char *link; local
62 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &link, &link_len) == FAILURE) {
66 if (OPENBASEDIR_CHECKPATH(link)) {
70 if (php_sys_readlink(link, target, MAXPATHLEN) == -1) {
71 php_error_docref(NULL TSRMLS_CC, E_WARNING, "readlink failed to read the symbolic link (
82 char *link; local
[all...]
H A Dphp_link.h26 PHP_FUNCTION(link); variable
/PHP_5_3/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_3/ext/phar/
H A Dphar_internal.h247 this entry stores the stream to open in link (normally used for tars, but we steal it here) */
279 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 Dphar_object.c2047 phar_entry_info *link; local
2064 link = phar_get_link_source(entry TSRMLS_CC);
2066 if (!link) {
2067 link = entry;
2070 if (SUCCESS != phar_stream_copy_to_stream(phar_get_efp(link, 0 TSRMLS_CC), fp, link->uncompressed_filesize, NULL)) {
2358 if (newentry.link) {
2359 newentry.link = estrdup(newentry.link);
4892 phar_entry_info *link; local
[all...]
H A Dutil.c52 if (!entry->link) {
55 if (entry->link[0] == '/') {
56 return estrdup(entry->link + 1);
61 spprintf(&ret, 0, "%s/%s", entry->filename, entry->link);
64 return entry->link;
71 char *link; local
73 if (!entry->link) {
77 link = phar_get_link_location(entry TSRMLS_CC);
78 if (SUCCESS == zend_hash_find(&(entry->phar->manifest), entry->link, strlen(entry->link), (voi
877 phar_entry_info *link; local
1126 phar_entry_info *link; local
[all...]
/PHP_5_3/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);
538 le_link = zend_register_list_destructors_ex(_close_mysql_link, NULL, "mysql link", module_numbe
930 long link; local
[all...]
/PHP_5_3/ext/pgsql/
H A Dpgsql.c83 #define CHECK_DEFAULT_LINK(x) if ((x) == -1) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PostgreSQL link opened yet"); }
782 PGconn *link = (PGconn *)rsrc->ptr; local
785 while ((res = PQgetResult(link))) {
788 PQfinish(link);
797 PGconn *link = (PGconn *)rsrc->ptr; local
800 while ((res = PQgetResult(link))) {
803 PQfinish(link);
846 PGconn *link; local
853 link = (PGconn *) rsrc->ptr;
855 if (PQ_SETNONBLOCKING(link,
1221 ulong link; local
[all...]

Completed in 53 milliseconds