aboutsummaryrefslogtreecommitdiffstats
path: root/desktop.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop.h')
-rw-r--r--desktop.h7
1 files changed, 7 insertions, 0 deletions
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);