diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-03 20:38:41 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-03 20:38:41 +0100 |
commit | ba627dd9ecb578e9852c7b9cce67ec63199d1acf (patch) | |
tree | 27c4258311ca8c8ed7ff67a8a0bc7280e8fcae79 /spectro/xdg_bds.h | |
parent | 69aec3b712232e93600ecd741269fed1f90b412a (diff) | |
parent | 3abb40d43649adb3807180692d8579c405524675 (diff) |
Merge branch 'release/2.0.0+repack-1'2.0.0+repack-1
Diffstat (limited to 'spectro/xdg_bds.h')
-rwxr-xr-x[-rw-r--r--] | spectro/xdg_bds.h | 7 |
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 */ ); |