gutils.h 794 Bytes
Newer Older
1 2
#ifndef GNUMERIC_UTILS_H
#define GNUMERIC_UTILS_H
3

4 5
#include "gnumeric.h"
#include "numbers.h"
6

7
/* Gets an integer in the buffer in start to end */
8 9
void      int_get_from_range     (const char *start, const char *end, int_t *t);
void      float_get_from_range   (const char *start, const char *end, float_t *t);
10

11 12 13 14 15 16 17 18
guint     gnumeric_strcase_hash  (gconstpointer v);
gint      gnumeric_strcase_equal (gconstpointer v, gconstpointer v2);

/**
 * System and user paths
 */
char *    gnumeric_sys_lib_dir    (const char *subdir);
char *    gnumeric_sys_data_dir   (const char *subdir);
19 20
char *    gnumeric_sys_glade_dir  (void);
char *    gnumeric_sys_plugin_dir (void);
21 22

char *    gnumeric_usr_dir        (const char *subdir);
23
char *    gnumeric_usr_plugin_dir (void);
24

25
#endif /* GNUMERIC_UTILS_H */