summaryrefslogtreecommitdiff
path: root/spectro/xdg_bds.h
diff options
context:
space:
mode:
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 */
);