}
/* }}} */
-/* {{{ proto void pfpro_init()
+/* {{{ proto bool pfpro_init()
Initializes the Payflow Pro library */
PHP_FUNCTION(pfpro_init)
{
}
/* }}} */
-/* {{{ proto void pfpro_cleanup()
+/* {{{ proto bool pfpro_cleanup()
Shuts down the Payflow Pro library */
PHP_FUNCTION(pfpro_cleanup)
{
}
/* }}} */
-/* {{{ proto mixed pg_result_seek(resource result, int offset)
+/* {{{ proto bool pg_result_seek(resource result, int offset)
Set internal row offset */
PHP_FUNCTION(pg_result_seek)
{
}
/* }}} */
-/* {{{ proto int pg_result_status(resource result[, long result_type])
+/* {{{ proto mixed pg_result_status(resource result[, long result_type])
Get status of query result */
PHP_FUNCTION(pg_result_status)
{
/* }}} */
-/* {{{ proto resource pg_get_notify([resource connection[, result_type]])
+/* {{{ proto array pg_get_notify([resource connection[, result_type]])
Get asynchronous notification */
PHP_FUNCTION(pg_get_notify)
{
}
/* }}} */
-/* {{{ proto resource pg_get_pid([resource connection)
+/* {{{ proto int pg_get_pid([resource connection)
Get backend(server) pid */
PHP_FUNCTION(pg_get_pid)
{
/* }}} */
-/* {{{ proto int posix_getrlimit(void)
+/* {{{ proto array posix_getrlimit(void)
Get system resource consumption limits (This is not a POSIX function, but a BSDism and a SVR4ism. We compile conditionally) */
PHP_FUNCTION(posix_getrlimit)
{
}
/* }}} */
-/* {{{ proto int pspell_check(int pspell, string word)
+/* {{{ proto bool pspell_check(int pspell, string word)
Returns true if word is valid */
PHP_FUNCTION(pspell_check)
{
}
/* }}} */
-/* {{{ proto int pspell_store_replacement(int pspell, string misspell, string correct)
+/* {{{ proto bool pspell_store_replacement(int pspell, string misspell, string correct)
Notify the dictionary of a user-selected replacement */
PHP_FUNCTION(pspell_store_replacement)
{
}
/* }}} */
-/* {{{ proto int pspell_add_to_personal(int pspell, string word)
+/* {{{ proto bool pspell_add_to_personal(int pspell, string word)
Adds a word to a personal list */
PHP_FUNCTION(pspell_add_to_personal)
{
}
/* }}} */
-/* {{{ proto int pspell_add_to_session(int pspell, string word)
+/* {{{ proto bool pspell_add_to_session(int pspell, string word)
Adds a word to the current session */
PHP_FUNCTION(pspell_add_to_session)
{
}
/* }}} */
-/* {{{ proto int pspell_clear_session(int pspell)
+/* {{{ proto bool pspell_clear_session(int pspell)
Clears the current session */
PHP_FUNCTION(pspell_clear_session)
{
}
/* }}} */
-/* {{{ proto int pspell_save_wordlist(int pspell)
+/* {{{ proto bool pspell_save_wordlist(int pspell)
Saves the current (personal) wordlist */
PHP_FUNCTION(pspell_save_wordlist)
{
}
/* }}} */
-/* {{{ proto int pspell_config_runtogether(int conf, bool runtogether)
+/* {{{ proto bool pspell_config_runtogether(int conf, bool runtogether)
Consider run-together words as valid components */
PHP_FUNCTION(pspell_config_runtogether)
{
}
/* }}} */
-/* {{{ proto int pspell_config_mode(int conf, long mode)
+/* {{{ proto bool pspell_config_mode(int conf, long mode)
Select mode for config (PSPELL_FAST, PSPELL_NORMAL or PSPELL_BAD_SPELLERS) */
PHP_FUNCTION(pspell_config_mode)
{
}
/* }}} */
-/* {{{ proto int pspell_config_ignore(int conf, int ignore)
+/* {{{ proto bool pspell_config_ignore(int conf, int ignore)
Ignore words <= n chars */
PHP_FUNCTION(pspell_config_ignore)
{
}
/* }}} */
-/* {{{ proto int pspell_config_personal(int conf, string personal)
+/* {{{ proto bool pspell_config_personal(int conf, string personal)
Use a personal dictionary for this config */
PHP_FUNCTION(pspell_config_personal)
{
}
/* }}} */
-/* {{{ proto int pspell_config_repl(int conf, string repl)
+/* {{{ proto bool pspell_config_repl(int conf, string repl)
Use a personal dictionary with replacement pairs for this config */
PHP_FUNCTION(pspell_config_repl)
{
}
/* }}} */
-/* {{{ proto int pspell_config_save_repl(int conf, bool save)
+/* {{{ proto bool pspell_config_save_repl(int conf, bool save)
Save replacement pairs when personal list is saved for this config */
PHP_FUNCTION(pspell_config_save_repl)
{
}
/* }}} */
-/* {{{ proto void readline_add_history([string prompt])
+/* {{{ proto bool readline_add_history([string prompt])
Adds a line to the history */
PHP_FUNCTION(readline_add_history)
{
}
/* }}} */
-/* {{{ proto void readline_clear_history(void)
+/* {{{ proto bool readline_clear_history(void)
Clears the history */
PHP_FUNCTION(readline_clear_history)
{
}
#endif
/* }}} */
-/* {{{ proto int readline_read_history([string filename] [, int from] [,int to])
+/* {{{ proto bool readline_read_history([string filename] [, int from] [,int to])
Reads the history */
PHP_FUNCTION(readline_read_history)
{
}
/* }}} */
-/* {{{ proto int readline_write_history([string filename])
+/* {{{ proto bool readline_write_history([string filename])
Writes the history */
PHP_FUNCTION(readline_write_history)
{
}
/* }}} */
-/* {{{ proto void readline_completion_function(string funcname)
+/* {{{ proto bool readline_completion_function(string funcname)
Readline completion function? */
static char *_readline_command_generator(char *text,int state)
}
/* }}} */
-/* {{{ proto array msg_set_queue(resource queue, array data)
+/* {{{ proto bool msg_set_queue(resource queue, array data)
Set information for a message queue */
PHP_FUNCTION(msg_set_queue)
{
}
/* }}} */
-/* {{{ proto resource msg_get_queue(long key [, long perms])
+/* {{{ proto resource msg_get_queue(int key [, int perms])
Attach to a message queue */
PHP_FUNCTION(msg_get_queue)
{
}
/* }}} */
-/* {{{ proto mixed msg_receive(resource queue, long desiredmsgtype, long &msgtype, long maxsize, mixed message [, bool unserialize=true [, long flags=0 [, long errorcode]]])
+/* {{{ proto mixed msg_receive(resource queue, int desiredmsgtype, int &msgtype, int maxsize, mixed message [, bool unserialize=true [, int flags=0 [, int errorcode]]])
Send a message of type msgtype (must be > 0) to a message queue */
PHP_FUNCTION(msg_receive)
{
}
/* }}} */
-/* {{{ proto bool msg_send(resource queue, long msgtype, mixed message [, bool serialize=true [, bool blocking=true [, long errorcode]]])
+/* {{{ proto bool msg_send(resource queue, int msgtype, mixed message [, bool serialize=true [, bool blocking=true [, int errorcode]]])
Send a message of type msgtype (must be > 0) to a message queue */
PHP_FUNCTION(msg_send)
{
#undef SETVAL_WANTS_PTR
#endif
-/* {{{ proto int sem_get(int key [, int max_acquire [, int perm [, int auto_release]])
+/* {{{ proto resource sem_get(int key [, int max_acquire [, int perm [, int auto_release]])
Return an id for the semaphore with the given key, and allow max_acquire (default 1) processes to acquire it simultaneously */
PHP_FUNCTION(sem_get)
{
}
/* }}} */
-/* {{{ proto int sem_acquire(int id)
+/* {{{ proto bool sem_acquire(resource id)
Acquires the semaphore with the given id, blocking if necessary */
PHP_FUNCTION(sem_acquire)
{
}
/* }}} */
-/* {{{ proto int sem_release(int id)
+/* {{{ proto bool sem_release(resource id)
Releases the semaphore with the given id */
PHP_FUNCTION(sem_release)
{
}
/* }}} */
-/* {{{ proto int sem_remove(int id)
+/* {{{ proto bool sem_remove(resource id)
Removes semaphore from Unix systems */
/*
}
/* }}} */
-/* {{{ proto int shm_detach(int shm_identifier)
+/* {{{ proto bool shm_detach(int shm_identifier)
Disconnects from shared memory segment */
PHP_FUNCTION(shm_detach)
{
}
/* }}} */
-/* {{{ proto int shm_remove(int shm_identifier)
+/* {{{ proto bool shm_remove(int shm_identifier)
Removes shared memory from Unix systems */
PHP_FUNCTION(shm_remove)
{
}
/* }}} */
-/* {{{ proto int shm_put_var(int shm_identifier, int variable_key, mixed variable)
+/* {{{ proto bool shm_put_var(int shm_identifier, int variable_key, mixed variable)
Inserts or updates a variable in shared memory */
PHP_FUNCTION(shm_put_var)
{
}
/* }}} */
-/* {{{ proto int shm_remove_var(int id, int variable_key)
+/* {{{ proto bool shm_remove_var(int id, int variable_key)
Removes variable from shared memory */
PHP_FUNCTION(shm_remove_var)
{
return strcmp(s1, s2);
}
-/* {{{ proto int yaz_connect(string zurl [, array options])
+/* {{{ proto resource yaz_connect(string zurl [, array options])
Create target with given zurl. Returns positive id if successful. */
PHP_FUNCTION(yaz_connect)
{
}
/* }}} */
-/* {{{ proto int yaz_close(resource id)
+/* {{{ proto bool yaz_close(resource id)
Destory and close target */
PHP_FUNCTION(yaz_close)
{
}
/* }}} */
-/* {{{ proto int yaz_search(resource id, string type, string query)
+/* {{{ proto bool yaz_search(resource id, string type, string query)
Specify query of type for search - returns true if successful */
PHP_FUNCTION(yaz_search)
{
}
/* }}} */
-/* {{{ proto int yaz_present(resource id)
+/* {{{ proto bool yaz_present(resource id)
Retrieve records */
PHP_FUNCTION(yaz_present)
{
}
/* }}} */
-/* {{{ proto int yaz_wait([array options])
+/* {{{ proto bool yaz_wait([array options])
Process events. */
PHP_FUNCTION(yaz_wait)
{
}
/* }}} */
-/* {{{ proto int yaz_syntax(resource id, string syntax)
+/* {{{ proto void yaz_syntax(resource id, string syntax)
Set record syntax for retrieval */
PHP_FUNCTION(yaz_syntax)
{
}
/* }}} */
-/* {{{ proto int yaz_element(resource id, string elementsetname)
+/* {{{ proto void yaz_element(resource id, string elementsetname)
Set Element-Set-Name for retrieval */
PHP_FUNCTION(yaz_element)
{
}
/* }}} */
-/* {{{ proto int yaz_schema(resource id, string schema)
+/* {{{ proto void yaz_schema(resource id, string schema)
Set Schema for retrieval */
PHP_FUNCTION(yaz_schema)
{
}
/* }}} */
-/* {{{ proto int yaz_set_option(resource id, mixed options)
+/* {{{ proto void yaz_set_option(resource id, mixed options)
Set Option(s) for connection */
PHP_FUNCTION(yaz_set_option)
{
}
/* }}} */
-/* {{{ proto int yaz_range(resource id, int start, int number)
+/* {{{ proto void yaz_range(resource id, int start, int number)
Set result set start point and number of records to request */
PHP_FUNCTION(yaz_range)
{
}
/* }}} */
-/* {{{ proto int yaz_sort(resource id, string sortspec)
+/* {{{ proto void yaz_sort(resource id, string sortspec)
Set result set sorting criteria */
PHP_FUNCTION(yaz_sort)
{
return array_lookup_string((HashTable *) handle, name);
}
-/* {{{ proto int yaz_itemorder(resource id, array package)
+/* {{{ proto void yaz_itemorder(resource id, array package)
Sends Item Order request */
PHP_FUNCTION(yaz_itemorder)
{
}
/* }}} */
-/* {{{ proto int yaz_scan(resource id, type, query [, flags])
+/* {{{ proto void yaz_scan(resource id, type, query [, flags])
Sends Scan Request */
PHP_FUNCTION(yaz_scan)
{
}
/* }}} */
-/* {{{ proto int yaz_es_result(resource id)
+/* {{{ proto array yaz_es_result(resource id)
Inspects Extended Services Result */
PHP_FUNCTION(yaz_es_result)
{
}
/* }}} */
-/* {{{ proto int yaz_scan_result(resource id [, array options])
+/* {{{ proto array yaz_scan_result(resource id [, array options])
Inspects Scan Result */
PHP_FUNCTION(yaz_scan_result)
{
}
/* }}} */
-/* {{{ proto int yaz_ccl_conf(resource id, array package)
+/* {{{ proto void yaz_ccl_conf(resource id, array package)
Configure CCL package */
PHP_FUNCTION(yaz_ccl_conf)
{
}
/* }}} */
-/* {{{ proto int yaz_ccl_parse(resource id, string query, array res)
+/* {{{ proto bool yaz_ccl_parse(resource id, string query, array res)
Parse a CCL query */
PHP_FUNCTION(yaz_ccl_parse)
{
}
/* }}} */
-/* {{{ proto int yaz_database (resource id, string databases)
+/* {{{ proto bool yaz_database (resource id, string databases)
Specify the databases within a session */
PHP_FUNCTION(yaz_database)
{
}
/* }}} */
-/* {{{ proto void yp_all(string domain, string map, string callback)
+/* {{{ proto bool yp_all(string domain, string map, string callback)
Traverse the map and call a function on each entry */
PHP_FUNCTION(yp_all)
{
}
/* }}} */
-/* {{{ proto int gzopen(string filename, string mode [, int use_include_path])
+/* {{{ proto resource gzopen(string filename, string mode [, int use_include_path])
Open a .gz-file and return a .gz-file pointer */
PHP_FUNCTION(gzopen)
{