e-zimbra-utils

e-zimbra-utils

Synopsis




enum                EFileCacheIDType;
gboolean            e_zimbra_utils_find_cache_string    (EFileCache *cache,
                                                         const gchar *key,
                                                         const gchar *str);
void                e_zimbra_utils_del_cache_string     (EFileCache *cache,
                                                         const gchar *key,
                                                         const gchar *str);
GPtrArray*          e_zimbra_utils_get_cache_array      (EFileCache *cache,
                                                         const gchar *key);
GPtrArray*          e_zimbra_utils_make_array_from_string
                                                        (const gchar *string);
const gchar*        e_zimbra_utils_check_array_for_string
                                                        (GPtrArray *array,
                                                         const gchar *string);
gchar*              e_zimbra_utils_make_string_from_array
                                                        (GPtrArray *array);
gchar*              e_zimbra_utils_uri_to_fspath        (const gchar *uri);
void                e_zimbra_utils_pack_id              (gchar *packed_id,
                                                         gsize packed_id_len,
                                                         const gchar *zid,
                                                         const gchar *rev,
                                                         time_t md);
void                e_zimbra_utils_unpack_id            (const gchar *packed_id,
                                                         const gchar **zid,
                                                         const gchar **rev,
                                                         time_t *md);
GPtrArray*          e_file_cache_get_ids                (EFileCache *cache,
                                                         EFileCacheIDType type);
gboolean            e_file_cache_set_ids                (EFileCache *cache,
                                                         EFileCacheIDType type,
                                                         GPtrArray *ids);
gboolean            e_file_cache_add_ids                (EFileCache *cache,
                                                         EFileCacheIDType type,
                                                         const gchar *ids);
const gchar*        g_ptr_array_lookup_id               (GPtrArray *array,
                                                         const gchar *id);
gboolean            g_ptr_array_remove_id               (GPtrArray *array,
                                                         const gchar *id);
gchar*              path_from_uri                       (const gchar *uri);
void                e_uri_set_path                      (EUri *uri,
                                                         const gchar *path);
void                g_string_append_url_encoded         (GString *str,
                                                         const gchar *in,
                                                         const gchar *extra_enc_chars);
gboolean            g_string_unescape                   (GString *string,
                                                         const gchar *illegal_characters);
gboolean            zimbra_parse_version_string         (const gchar *version,
                                                         guint *major,
                                                         guint *minor,
                                                         guint *micro);
gboolean            zimbra_check_min_server_version     (gchar *version_string);
void                zimbra_recursive_delete             (const gchar *path);
gchar*              e_zimbra_encode_url                 (const gchar *url,
                                                         gchar *encoded,
                                                         gsize encoded_len);

Description

Details

enum EFileCacheIDType

typedef enum
{
        E_FILE_CACHE_UPDATE_IDS,
        E_FILE_CACHE_DELETE_IDS
} EFileCacheIDType;


e_zimbra_utils_find_cache_string ()

gboolean            e_zimbra_utils_find_cache_string    (EFileCache *cache,
                                                         const gchar *key,
                                                         const gchar *str);

cache :

key :

str :

Returns :


e_zimbra_utils_del_cache_string ()

void                e_zimbra_utils_del_cache_string     (EFileCache *cache,
                                                         const gchar *key,
                                                         const gchar *str);

cache :

key :

str :


e_zimbra_utils_get_cache_array ()

GPtrArray*          e_zimbra_utils_get_cache_array      (EFileCache *cache,
                                                         const gchar *key);

cache :

key :

Returns :


e_zimbra_utils_make_array_from_string ()

GPtrArray*          e_zimbra_utils_make_array_from_string
                                                        (const gchar *string);

string :

Returns :


e_zimbra_utils_check_array_for_string ()

const gchar*        e_zimbra_utils_check_array_for_string
                                                        (GPtrArray *array,
                                                         const gchar *string);

array :

string :

Returns :


e_zimbra_utils_make_string_from_array ()

gchar*              e_zimbra_utils_make_string_from_array
                                                        (GPtrArray *array);

array :

Returns :


e_zimbra_utils_uri_to_fspath ()

gchar*              e_zimbra_utils_uri_to_fspath        (const gchar *uri);

uri :

Returns :


e_zimbra_utils_pack_id ()

void                e_zimbra_utils_pack_id              (gchar *packed_id,
                                                         gsize packed_id_len,
                                                         const gchar *zid,
                                                         const gchar *rev,
                                                         time_t md);

packed_id :

packed_id_len :

zid :

rev :

md :


e_zimbra_utils_unpack_id ()

void                e_zimbra_utils_unpack_id            (const gchar *packed_id,
                                                         const gchar **zid,
                                                         const gchar **rev,
                                                         time_t *md);

packed_id :

zid :

rev :

md :


e_file_cache_get_ids ()

GPtrArray*          e_file_cache_get_ids                (EFileCache *cache,
                                                         EFileCacheIDType type);

cache :

type :

Returns :


e_file_cache_set_ids ()

gboolean            e_file_cache_set_ids                (EFileCache *cache,
                                                         EFileCacheIDType type,
                                                         GPtrArray *ids);

cache :

type :

ids :

Returns :


e_file_cache_add_ids ()

gboolean            e_file_cache_add_ids                (EFileCache *cache,
                                                         EFileCacheIDType type,
                                                         const gchar *ids);

cache :

type :

ids :

Returns :


g_ptr_array_lookup_id ()

const gchar*        g_ptr_array_lookup_id               (GPtrArray *array,
                                                         const gchar *id);

array :

id :

Returns :


g_ptr_array_remove_id ()

gboolean            g_ptr_array_remove_id               (GPtrArray *array,
                                                         const gchar *id);

array :

id :

Returns :


path_from_uri ()

gchar*              path_from_uri                       (const gchar *uri);

uri :

Returns :


e_uri_set_path ()

void                e_uri_set_path                      (EUri *uri,
                                                         const gchar *path);

uri :

path :


g_string_append_url_encoded ()

void                g_string_append_url_encoded         (GString *str,
                                                         const gchar *in,
                                                         const gchar *extra_enc_chars);

str :

in :

extra_enc_chars :


g_string_unescape ()

gboolean            g_string_unescape                   (GString *string,
                                                         const gchar *illegal_characters);

string :

illegal_characters :

Returns :


zimbra_parse_version_string ()

gboolean            zimbra_parse_version_string         (const gchar *version,
                                                         guint *major,
                                                         guint *minor,
                                                         guint *micro);

version :

major :

minor :

micro :

Returns :


zimbra_check_min_server_version ()

gboolean            zimbra_check_min_server_version     (gchar *version_string);

version_string :

Returns :


zimbra_recursive_delete ()

void                zimbra_recursive_delete             (const gchar *path);

path :


e_zimbra_encode_url ()

gchar*              e_zimbra_encode_url                 (const gchar *url,
                                                         gchar *encoded,
                                                         gsize encoded_len);

url :

encoded :

encoded_len :

Returns :