summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-sysdeps.h
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus-sysdeps.h')
-rw-r--r--dbus/dbus-sysdeps.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/dbus/dbus-sysdeps.h b/dbus/dbus-sysdeps.h
index 8ee7c8b7..fc552e7f 100644
--- a/dbus/dbus-sysdeps.h
+++ b/dbus/dbus-sysdeps.h
@@ -25,6 +25,7 @@
#define DBUS_SYSDEPS_H
#include <dbus/dbus-string.h>
+#include <dbus/dbus-errors.h>
/* this is perhaps bogus, but strcmp() etc. are faster if we use the
* stuff straight out of string.h, so have this here for now.
@@ -124,6 +125,19 @@ void _dbus_get_current_time (long *tv_sec,
DBusResultCode _dbus_file_get_contents (DBusString *str,
const DBusString *filename);
+dbus_bool_t _dbus_concat_dir_and_file (DBusString *dir,
+ const DBusString *next_component);
+
+typedef struct DBusDirIter DBusDirIter;
+
+DBusDirIter* _dbus_directory_open (const DBusString *filename,
+ DBusResultCode *result);
+dbus_bool_t _dbus_directory_get_next_file (DBusDirIter *iter,
+ DBusString *filename,
+ DBusResultCode *result);
+void _dbus_directory_close (DBusDirIter *iter);
+
+
DBUS_END_DECLS;
#endif /* DBUS_SYSDEPS_H */