summaryrefslogtreecommitdiff
path: root/spectro/xdg_bds.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-25 10:16:00 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-25 10:16:00 +0100
commitf6b8e0eae4374f339487a33e3e4fe5462d5816e1 (patch)
tree5f5f764fd6cda404b2ad6e85762c03fce3a335db /spectro/xdg_bds.h
parent615ab5513e79c4abc5bbe5c993587785b6a1738b (diff)
New upstream version 2.0.0upstream/2.0.0
Diffstat (limited to 'spectro/xdg_bds.h')
-rwxr-xr-x[-rw-r--r--]spectro/xdg_bds.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/spectro/xdg_bds.h b/spectro/xdg_bds.h
index 18101b0..9eb6651 100644..100755
--- a/spectro/xdg_bds.h
+++ b/spectro/xdg_bds.h
@@ -51,6 +51,12 @@ typedef enum {
xdg_local /* Local System wide context */
} xdg_scope;
+/* Optional flags */
+typedef enum {
+ xdg_none = 0x0000, /* No options */
+ xdg_all_matches = 0x0001 /* Return all matching files */
+} xdg_options;
+
/* An error code */
typedef enum {
xdg_ok = 0,
@@ -96,6 +102,7 @@ int xdg_bds(
xdg_storage_type st, /* Specify the storage type */
xdg_op_type op, /* Operation type */
xdg_scope sc, /* Scope if write */
+ xdg_options opt, /* Options flags */
char *spath /* Sub-path and file name or file pattern */
);