summaryrefslogtreecommitdiff
path: root/spectro/xdg_bds.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-01 10:32:14 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-01 10:32:14 +0100
commit4097e27114d227692d53c5d28487e12a3833cd24 (patch)
treed5c2a62c4db97de94f92150340612c64d3997669 /spectro/xdg_bds.h
parentf8a0a4e1c775a90c313cb83201eec4cea4e9a7da (diff)
parent5514d94483c98e3320b202b1bb882023a7d12027 (diff)
Merge branch 'feature/upstream' into develop
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 */
);