root / lib / filter-utils.h @ 90da63dd
History | View | Annotate | Download (708 Bytes)
| 1 | /* SylFilter - a message filter
|
|---|---|
| 2 | * |
| 3 | * Copyright (C) 2011 Hiroyuki Yamamoto |
| 4 | * Copyright (C) 2011 Sylpheed Development Team |
| 5 | */ |
| 6 | |
| 7 | #ifndef __FILTER_UTILS_H__
|
| 8 | #define __FILTER_UTILS_H__
|
| 9 | |
| 10 | char *xfilter_utils_get_file_contents(const char *file); |
| 11 | void xfilter_free_mem(void *mem); |
| 12 | |
| 13 | const char *xfilter_utils_get_home_dir(void); |
| 14 | const char *xfilter_utils_get_base_dir(void); |
| 15 | int xfilter_utils_set_base_dir(const char *path); |
| 16 | const char *xfilter_utils_get_default_base_dir(void); |
| 17 | |
| 18 | int xfilter_utils_mkdir(const char *path); |
| 19 | |
| 20 | void xfilter_set_conf_value(const char *key, const char *value); |
| 21 | const char *xfilter_get_conf_value(const char *key); |
| 22 | void xfilter_conf_value_clear(void); |
| 23 | |
| 24 | #endif /* __FILTER_UTILS_H__ */ |