From e9e9684117719204929821028ba9dbb7915ea119 Mon Sep 17 00:00:00 2001 From: kraxel Date: Sun, 28 Mar 2004 11:31:57 +0000 Subject: Initial revision --- desktop.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 desktop.h (limited to 'desktop.h') diff --git a/desktop.h b/desktop.h new file mode 100644 index 0000000..b0cc2c4 --- /dev/null +++ b/desktop.h @@ -0,0 +1,7 @@ +/* these are "for free", the desktop file stuff needs this anyway ... */ +int utf8_to_locale(char *src, char *dst, size_t max); +int locale_to_utf8(char *src, char *dst, size_t max); + +/* handle desktop files */ +int desktop_read_entry(char *filename, char *entry, char *dest, size_t max); +int desktop_write_entry(char *filename, char *type, char *entry, char *value); -- cgit