FolderSearch
Object Hierarchy:
Description:
Namespace: Camel
Package: camel-1.2
Content:
Static methods:
- public static long util_add_months (long t, int months)
Increases time
t
by the given number of months (or decreases, ifmonths
is negative). - public static int util_compare_date (int64 datetime1, int64 datetime2)
Compares date portion of the two date-time values, first converted into the local time zone.
- public static uint64 util_hash_message_id (string message_id, bool needs_decode)
Calculates a hash of the Message-ID header value
message_id
. - public static long util_make_time (int argc, SExpResult argv)
Implementation of 'make-time' function, which expects one argument, a string or an integer, to be converted into time_t.
Creation methods:
- public FolderSearch ()
Create a new CamelFolderSearch object.
Methods:
- public uint32 count (string expr, Cancellable? cancellable = null) throws Error
Run a search.
- public void free_result (GenericArray<string>? result)
Frees result of search call.
- public unowned MessageInfo? get_current_message_info ()
- public unowned GenericArray<string> get_current_summary ()
- public unowned Folder get_folder ()
- public bool get_only_cached_messages ()
- public unowned GenericArray<string> get_summary ()
- public bool get_summary_empty ()
- public GenericArray<string> search (string expr, GenericArray<string> uids, Cancellable? cancellable = null) throws Error
Run a search.
- public void set_body_index (Index? body_index)
Set the index representing the contents of all messages in this folder.
- public void set_current_message_info (MessageInfo? info)
Sets, or unsets, the
info
as the currently processing MessageInfo. - public void set_folder (Folder folder)
Set the folder attribute of the search.
- public void set_only_cached_messages (bool only_cached_messages)
Sets whether only locally cached messages can be searched.
- public void set_summary (GenericArray<string> summary)
Set the array of summary objects representing the span of the search.
- public void take_current_message_info (MessageInfo? info)
Sets, or unsets, the
info
as the currently processing MessageInfo.
Inherited Members:
All known members inherited from class GLib.Object