From 7fe3bb0d9423340ce1a6b68f582e23275a0624d3 Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Sun, 16 Dec 2001 09:10:54 +0000 Subject: [PATCH] added skeletons for missing functions git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@65253 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/apache.xml | 46 ++++++++++++++++++++- functions/curl.xml | 65 +++++++++++++++++++++++++++++- functions/imap.xml | 96 +++++++++++++++++++++++++++++++++++++++++++- functions/mcrypt.xml | 50 +++++++++++++++++++++-- 4 files changed, 250 insertions(+), 7 deletions(-) diff --git a/functions/apache.xml b/functions/apache.xml index daf3aece00..1160310ca0 100644 --- a/functions/apache.xml +++ b/functions/apache.xml @@ -1,5 +1,5 @@ - + Apache-specific Functions Apache @@ -223,6 +223,50 @@ while (list ($header, $value) = each ($headers)) { + + + apache_child_terminate + Terminate apache process after this request + + + Description + + + string apache_child_terminate + + + + + apache_child_terminate will terminate the apache + process executing the current PHP request. It may be used to terminate + a process after a script with high memory consumption has been run + as memory will usualy only be freed internaly but not given back + to the operation system. + + + + + + + apache_setenv + Set an Apache subprocess_env variable + + + Description + + + int apache_setenv + string variable + string value + bool walk_to_top + + + + &warn.undocumented.func; + + + + + CURL, Client URL Library Functions CURL @@ -534,6 +534,69 @@ curl_close ($ch); + + + + curl_errno + Return an integer containing the last error number + + + Description + + + int curl_errno + int ch + + + + &warn.undocumented.func; + + + + + + + curl_error + + Return a string contain the last error for the current session + + + + Description + + + string curl_error + int ch + + + + &warn.undocumented.func; + + + + + + + curl_getinfo + + Get information regarding a specific transfer + + + + Description + + + string curl_getinfo + int ch + int opt + + + + &warn.undocumented.func; + + + + + IMAP, POP3 and NNTP functions IMAP @@ -306,6 +306,29 @@ imap_close($stream); + + + imap_bodystruct + + Read the structure of a specified body section of a specific message + + + + Description + + + object imap_bodystruct + int stream_id + int msg_no + int section + + + + &warn.undocumented.func; + + + + imap_check @@ -2091,6 +2114,30 @@ imap_close($mbox); + + + imap_popen + + Open a persistant IMAP stream to a mailbox + + + + Description + + + int imap_popen + string mailbox + string user + string password + int options + + + + &warn.undocumented.func; + + + + imap_qprint @@ -2533,6 +2580,30 @@ print imap_rfc822_write_address("hartmut","cvs.php.net","Hartmut Holzgraefe")."\ + + + imap_setacl + + Sets the ACL for a giving mailbox + + + + Description + + + int imap_setacl + int stream_id + string mailbox + string id + string rights + + + + &warn.undocumented.func; + + + + imap_set_quota @@ -2976,6 +3047,29 @@ imap_close($mbox); + + + imap_thread + + Return threaded by REFERENCES tree + + + + Description + + + int imap_thread + int stream_id + int flags + + + + &warn.undocumented.func; + + + + + + Mcrypt Encryption Functions mcrypt @@ -1144,7 +1144,49 @@ $td = mcrypt_module_open (MCRYPT_DES, "", MCRYPT_MODE_ECB, "/usr/lib/mcrypt-mode + + + + mcrypt_module_close + + Free the descriptor td + + + + Description + + + bool mcrypt_module_close + resource td + + + + &warn.undocumented.func; + + + + + + mcrypt_generic_deinit + + This function terminates encrypt specified by the descriptor td + + + + Description + + + bool mcrypt_generic_deinit + resource td + + + + &warn.undocumented.func; + + + + mcrypt_generic_init @@ -1620,16 +1662,16 @@ else - + - mcrypt_module_get_algo_supported_key_sizes + mcrypt_module_get_supported_key_sizes Returns an array with the supported keysizes of the opened algorithm Description - array mcrypt_module_get_algo_supported_key_sizes + array mcrypt_module_get_supported_key_sizes string algorithm string lib_dir