Miscellaneous Utilities

Miscellaneous Utilities

Synopsis

#include <e-util/e-util.h>

const gchar *       e_get_accels_filename               (void);
void                e_show_uri                          (GtkWindow *parent,
                                                         const gchar *uri);
void                e_display_help                      (GtkWindow *parent,
                                                         const gchar *link_id);
GtkAction *         e_lookup_action                     (GtkUIManager *ui_manager,
                                                         const gchar *action_name);
GtkActionGroup *    e_lookup_action_group               (GtkUIManager *ui_manager,
                                                         const gchar *group_name);
gint                e_action_compare_by_label           (GtkAction *action1,
                                                         GtkAction *action2);
void                e_action_group_remove_all_actions   (GtkActionGroup *action_group);
GtkRadioAction *    e_radio_action_get_current_action   (GtkRadioAction *radio_action);
void                e_categories_add_change_hook        (GHookFunc func,
                                                         gpointer object);
gchar *             e_str_without_underscores           (const gchar *string);
gint                e_str_compare                       (gconstpointer x,
                                                         gconstpointer y);
gint                e_str_case_compare                  (gconstpointer x,
                                                         gconstpointer y);
gint                e_collate_compare                   (gconstpointer x,
                                                         gconstpointer y);
gint                e_int_compare                       (gconstpointer x,
                                                         gconstpointer y);
guint32             e_color_to_value                    (GdkColor *color);
gchar *             e_format_number                     (gint number);
gint                (*ESortCompareFunc)                 (gconstpointer first,
                                                         gconstpointer second,
                                                         gpointer closure);
void                e_bsearch                           (gconstpointer key,
                                                         gconstpointer base,
                                                         gsize nmemb,
                                                         gsize size,
                                                         ESortCompareFunc compare,
                                                         gpointer closure,
                                                         gsize *start,
                                                         gsize *end);
gsize               e_strftime_fix_am_pm                (gchar *str,
                                                         gsize max,
                                                         const gchar *fmt,
                                                         const struct tm *tm);
gsize               e_utf8_strftime_fix_am_pm           (gchar *str,
                                                         gsize max,
                                                         const gchar *fmt,
                                                         const struct tm *tm);
const gchar *       e_get_month_name                    (GDateMonth month,
                                                         gboolean abbreviated);
const gchar *       e_get_weekday_name                  (GDateWeekday weekday,
                                                         gboolean abbreviated);
gdouble             e_flexible_strtod                   (const gchar *nptr,
                                                         gchar **endptr);
gchar *             e_ascii_dtostr                      (gchar *buffer,
                                                         gint buf_len,
                                                         const gchar *format,
                                                         gdouble d);
gboolean            e_file_lock_create                  (void);
void                e_file_lock_destroy                 (void);
gboolean            e_file_lock_exists                  (void);
gchar *             e_util_guess_mime_type              (const gchar *filename,
                                                         gboolean localfile);
GSList *            e_util_get_category_filter_options  (void);
gboolean            e_binding_transform_color_to_string (GBinding *binding,
                                                         const GValue *source_value,
                                                         GValue *target_value,
                                                         gpointer not_used);
gboolean            e_binding_transform_string_to_color (GBinding *binding,
                                                         const GValue *source_value,
                                                         GValue *target_value,
                                                         gpointer not_used);
gboolean            e_binding_transform_source_to_uid   (GBinding *binding,
                                                         const GValue *source_value,
                                                         GValue *target_value,
                                                         ESourceRegistry *registry);
gboolean            e_binding_transform_uid_to_source   (GBinding *binding,
                                                         const GValue *source_value,
                                                         GValue *target_value,
                                                         ESourceRegistry *registry);
GSList *            e_charset_add_radio_actions         (GtkActionGroup *action_group,
                                                         const gchar *action_prefix,
                                                         const gchar *default_charset,
                                                         GCallback callback,
                                                         gpointer user_data);
EActivity *         e_file_replace_contents_async       (GFile *file,
                                                         const gchar *contents,
                                                         gsize length,
                                                         const gchar *etag,
                                                         gboolean make_backup,
                                                         GFileCreateFlags flags,
                                                         GAsyncReadyCallback callback,
                                                         gpointer user_data);
gboolean            e_file_replace_contents_finish      (GFile *file,
                                                         GAsyncResult *result,
                                                         gchar **new_etag,
                                                         GError **error);
gchar *             e_mktemp                            (const gchar *template);
gint                e_mkstemp                           (const gchar *template);
gchar *             e_mkdtemp                           (const gchar *template);

Description

Details

e_get_accels_filename ()

const gchar *       e_get_accels_filename               (void);

e_show_uri ()

void                e_show_uri                          (GtkWindow *parent,
                                                         const gchar *uri);

e_display_help ()

void                e_display_help                      (GtkWindow *parent,
                                                         const gchar *link_id);

e_lookup_action ()

GtkAction *         e_lookup_action                     (GtkUIManager *ui_manager,
                                                         const gchar *action_name);

e_lookup_action_group ()

GtkActionGroup *    e_lookup_action_group               (GtkUIManager *ui_manager,
                                                         const gchar *group_name);

e_action_compare_by_label ()

gint                e_action_compare_by_label           (GtkAction *action1,
                                                         GtkAction *action2);

e_action_group_remove_all_actions ()

void                e_action_group_remove_all_actions   (GtkActionGroup *action_group);

e_radio_action_get_current_action ()

GtkRadioAction *    e_radio_action_get_current_action   (GtkRadioAction *radio_action);

e_categories_add_change_hook ()

void                e_categories_add_change_hook        (GHookFunc func,
                                                         gpointer object);

e_str_without_underscores ()

gchar *             e_str_without_underscores           (const gchar *string);

e_str_compare ()

gint                e_str_compare                       (gconstpointer x,
                                                         gconstpointer y);

e_str_case_compare ()

gint                e_str_case_compare                  (gconstpointer x,
                                                         gconstpointer y);

e_collate_compare ()

gint                e_collate_compare                   (gconstpointer x,
                                                         gconstpointer y);

e_int_compare ()

gint                e_int_compare                       (gconstpointer x,
                                                         gconstpointer y);

e_color_to_value ()

guint32             e_color_to_value                    (GdkColor *color);

e_format_number ()

gchar *             e_format_number                     (gint number);

ESortCompareFunc ()

gint                (*ESortCompareFunc)                 (gconstpointer first,
                                                         gconstpointer second,
                                                         gpointer closure);

e_bsearch ()

void                e_bsearch                           (gconstpointer key,
                                                         gconstpointer base,
                                                         gsize nmemb,
                                                         gsize size,
                                                         ESortCompareFunc compare,
                                                         gpointer closure,
                                                         gsize *start,
                                                         gsize *end);

e_strftime_fix_am_pm ()

gsize               e_strftime_fix_am_pm                (gchar *str,
                                                         gsize max,
                                                         const gchar *fmt,
                                                         const struct tm *tm);

e_utf8_strftime_fix_am_pm ()

gsize               e_utf8_strftime_fix_am_pm           (gchar *str,
                                                         gsize max,
                                                         const gchar *fmt,
                                                         const struct tm *tm);

e_get_month_name ()

const gchar *       e_get_month_name                    (GDateMonth month,
                                                         gboolean abbreviated);

e_get_weekday_name ()

const gchar *       e_get_weekday_name                  (GDateWeekday weekday,
                                                         gboolean abbreviated);

e_flexible_strtod ()

gdouble             e_flexible_strtod                   (const gchar *nptr,
                                                         gchar **endptr);

e_ascii_dtostr ()

gchar *             e_ascii_dtostr                      (gchar *buffer,
                                                         gint buf_len,
                                                         const gchar *format,
                                                         gdouble d);

e_file_lock_create ()

gboolean            e_file_lock_create                  (void);

e_file_lock_destroy ()

void                e_file_lock_destroy                 (void);

e_file_lock_exists ()

gboolean            e_file_lock_exists                  (void);

e_util_guess_mime_type ()

gchar *             e_util_guess_mime_type              (const gchar *filename,
                                                         gboolean localfile);

e_util_get_category_filter_options ()

GSList *            e_util_get_category_filter_options  (void);

e_binding_transform_color_to_string ()

gboolean            e_binding_transform_color_to_string (GBinding *binding,
                                                         const GValue *source_value,
                                                         GValue *target_value,
                                                         gpointer not_used);

e_binding_transform_string_to_color ()

gboolean            e_binding_transform_string_to_color (GBinding *binding,
                                                         const GValue *source_value,
                                                         GValue *target_value,
                                                         gpointer not_used);

e_binding_transform_source_to_uid ()

gboolean            e_binding_transform_source_to_uid   (GBinding *binding,
                                                         const GValue *source_value,
                                                         GValue *target_value,
                                                         ESourceRegistry *registry);

e_binding_transform_uid_to_source ()

gboolean            e_binding_transform_uid_to_source   (GBinding *binding,
                                                         const GValue *source_value,
                                                         GValue *target_value,
                                                         ESourceRegistry *registry);

e_charset_add_radio_actions ()

GSList *            e_charset_add_radio_actions         (GtkActionGroup *action_group,
                                                         const gchar *action_prefix,
                                                         const gchar *default_charset,
                                                         GCallback callback,
                                                         gpointer user_data);

e_file_replace_contents_async ()

EActivity *         e_file_replace_contents_async       (GFile *file,
                                                         const gchar *contents,
                                                         gsize length,
                                                         const gchar *etag,
                                                         gboolean make_backup,
                                                         GFileCreateFlags flags,
                                                         GAsyncReadyCallback callback,
                                                         gpointer user_data);

e_file_replace_contents_finish ()

gboolean            e_file_replace_contents_finish      (GFile *file,
                                                         GAsyncResult *result,
                                                         gchar **new_etag,
                                                         GError **error);

e_mktemp ()

gchar *             e_mktemp                            (const gchar *template);

e_mkstemp ()

gint                e_mkstemp                           (const gchar *template);

e_mkdtemp ()

gchar *             e_mkdtemp                           (const gchar *template);