diff --git a/functions/cyrus.xml b/functions/cyrus.xml new file mode 100644 index 0000000000..fc3293fbd1 --- /dev/null +++ b/functions/cyrus.xml @@ -0,0 +1,170 @@ + + Cyrus IMAP administration functions + Cyradm functions + + + + undocumented -> blame Sterling ;) + + + + + + + cyrus_connect + Connect to a Cyrus IMAP server + + + Description + + + resource cyrus_connect + string + host + + string + port + + int + flags + + + + + undocumented -> blame Sterling ;) + + + + + + + cyrus_authenticate + Authenticate agaings a Cyrus IMAP server + + + Description + + + bool cyrus_authenticate + resource connection + string + mechlist + + string + service + + string + user + + int + minssf + + int + maxssf + + + + + undocumented -> blame Sterling ;) + + + + + + + cyrus_bind + Bind callbacks to a Cyrus IMAP connection + + + Description + + + bool cyrus_bind + resource connection + array callbacks + + + + undocumented -> blame Sterling ;) + + + + + + + cyrus_unbind + Unbind ... + + + Description + + + bool cyrus_unbind + resource connection + string trigger_name + + + + undocumented -> blame Sterling ;) + + + + + + + cyrus_query + Send a query to a Cyrus IMAP server + + + Description + + + bool cyrus_query + resource connection + string query + + + + undocumented -> blame Sterling ;) + + + + + + + cyrus_close + Close connection to a cyrus server + + + Description + + + bool cyrus_close + resource connection + + + + undocumented -> blame Sterling ;) + + + + + + + + diff --git a/functions/dio.xml b/functions/dio.xml new file mode 100644 index 0000000000..ef1add9ccc --- /dev/null +++ b/functions/dio.xml @@ -0,0 +1,200 @@ + + Direct IO functions + DIO functions + + + + Undocumented - blame Sterling ;) + + + + + + + dio_open + Open a new filename with specified permissions of flags and creation permissions of mode + + + Description + + + resource dio_open + string filename + int flags + int + mode + + + + + undocumented -> blame Sterling ;) + + + + + + + dio_read + Read n bytes from fd and return them, if n is not specified, read 1k + + + Description + + + string dio_read + resource fd + int + n + + + + + undocumented -> blame Sterling ;) + + + + + + + dio_write + Write data to fd with optional truncation at length + + + Description + + + int dio_write + resource fd + string data + int + len + + + + + undocumented -> blame Sterling ;) + + + + + + + dio_truncate + Truncate file descriptor fd to offset bytes + + + Description + + + bool dio_truncate + resource fd + int offset + + + + undocumented -> blame Sterling ;) + + + + + + + dio_stat + Get stat information about the file descriptor fd + + + Description + + + array dio_stat + resource fd + + + + undocumented -> blame Sterling ;) + + + + + + + dio_seek + Seek to pos on fd from whence + + + Description + + + int dio_seek + resource fd + int pos + int whence + + + + undocumented -> blame Sterling ;) + + + + + + + dio_fcntl + Perform a c library fcntl on fd + + + Description + + + mixed dio_fcntl + resource fd + int cmd + mixed + arg + + + + + undocumented -> blame Sterling ;) + + + + + + + dio_close + Close the file descriptor given by fd + + + Description + + + void dio_close + resource fd + + + + undocumented -> blame Sterling ;) + + + + + + + +