fm-utils

fm-utils

Synopsis

char *              fm_canonicalize_filename            (const char *filename,
                                                         const char *cwd);
char *              fm_file_size_to_str                 (char *buf,
                                                         goffset size,
                                                         gboolean si_prefix);
gboolean            fm_key_file_get_bool                (GKeyFile *kf,
                                                         const char *grp,
                                                         const char *key,
                                                         gboolean *val);
gboolean            fm_key_file_get_int                 (GKeyFile *kf,
                                                         const char *grp,
                                                         const char *key,
                                                         int *val);
char *              fm_str_replace                      (char *str,
                                                         char *old,
                                                         char *new);

Description

Details

fm_canonicalize_filename ()

char *              fm_canonicalize_filename            (const char *filename,
                                                         const char *cwd);

fm_file_size_to_str ()

char *              fm_file_size_to_str                 (char *buf,
                                                         goffset size,
                                                         gboolean si_prefix);

fm_key_file_get_bool ()

gboolean            fm_key_file_get_bool                (GKeyFile *kf,
                                                         const char *grp,
                                                         const char *key,
                                                         gboolean *val);

fm_key_file_get_int ()

gboolean            fm_key_file_get_int                 (GKeyFile *kf,
                                                         const char *grp,
                                                         const char *key,
                                                         int *val);

fm_str_replace ()

char *              fm_str_replace                      (char *str,
                                                         char *old,
                                                         char *new);