imap4.texi 3.44 KB
@c This is part of the GNU Mailutils manual.
@c Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc.
@c See file mailutils.texi for copying conditions.
@comment *******************************************************************

@smallexample
@code{/* Prefix @emph{imap4_} is reserved */}
@code{#include <mailutils/imap4.h>}

@end smallexample

Internet Message Access Protocol - Version (4rev1).  In IMAP4, the client
must be prepared to accept any responses at all times.  The server responses
have three forms: status responses, server data and command continuation
request. Untagged responses, for historical reasons are also call
"unsolicited responses".

@subsection Commands

@subsubsection Initialization
@cindex IMAP4 Initialization

@deftypefun int imap4_create (imap4_t *)
@end deftypefun

@deftypefun int imap4_open (imap4_t, const char *@var{hostname}, unsigned int @var{port}, int @var{flags})
@end deftypefun

@deftypefun int imap4d_set_timeout (imap4_t, unsigned int @var{seconds})
@end deftypefun

@subsubsection Append
@cindex IMAP4 Append

@deftypefun int imap4_append (imap4_t)
@end deftypefun

@subsubsection Capability
@cindex IMAP4 Capability

@deftypefun int imap4_capability (imap4_t)
@end deftypefun

@subsubsection Create
@cindex IMAP4 Create

@deftypefun int imap4_create_mailbox (imap4_t, const char *@var{mbox})
@end deftypefun

@subsubsection Check
@cindex IMAP4 Check

@deftypefun int imap4_check (imap4_t)
@end deftypefun

@subsubsection Close
@cindex IMAP4 Close

@deftypefun int imap4_close (imap4_t)
@end deftypefun

@subsubsection Copy
@cindex IMAP4 Copy

@deftypefun int imap4_copy (imap4_t)
@end deftypefun

@subsubsection UID Copy
@cindex IMAP4 UID Copy

@deftypefun int imap4_uid_copy (imap4_t)
@end deftypefun

@subsubsection Delete
@cindex IMAP4 Delete

@deftypefun int imap4_delete (imap4_t)
@end deftypefun

@subsubsection Fetch
@cindex IMAP4 Fetch

@deftypefun int imap4_fetch (imap4_t)
@end deftypefun

@subsubsection UID Fetch
@cindex IMAP4 UID Fetch

@deftypefun int imap4_uid_fetch (imap4_t)
@end deftypefun

@subsubsection Examine
@cindex IMAP4 Examine

@deftypefun int imap4_examine (imap4_t)
@end deftypefun

@subsubsection Expunge
@cindex IMAP4 Expunge

@deftypefun int imap4_expunge (imap4_t)
@end deftypefun

@subsubsection List
@cindex IMAP4 List

@deftypefun int imap4_list (imap4_t)
@end deftypefun

@subsubsection Lsub
@cindex IMAP4 Lsub

@deftypefun int imap4_lsub (imap4_t)
@end deftypefun

@subsubsection Namespace
@cindex IMAP4 Namespace

@deftypefun int imap4_namespace (imap4_t)
@end deftypefun

@subsubsection Rename
@cindex IMAP4 Rename

@deftypefun int imap4_rename (imap4_t)
@end deftypefun

@subsubsection Search
@cindex IMAP4 Search

@deftypefun int imap4_search (imap4_t)
@end deftypefun

@subsubsection UID Search
@cindex IMAP4 UID Search

@deftypefun int imap4_uid_search (imap4_t)
@end deftypefun

@subsubsection Select
@cindex IMAP4 Select

@deftypefun int imap4_select (imap4_t)
@end deftypefun

@subsubsection Status
@cindex IMAP4 Status

@deftypefun int imap4_status (imap4_t)
@end deftypefun

@subsubsection Store
@cindex IMAP4 Store

@deftypefun int imap4_store (imap4_t)
@end deftypefun

@subsubsection UID Store
@cindex IMAP4 UID Store

@deftypefun int imap4_uid_store (imap4_t)
@end deftypefun

@subsubsection Subscribe
@cindex IMAP4 Subscribe

@deftypefun int imap4_subscribe (imap4_t)
@end deftypefun

@subsubsection Unsubscribe
@cindex IMAP4 Unsubscribe

@deftypefun int imap4_unsubscribe (imap4_t)
@end deftypefun