This was proposed by Christophe De Dinechin for coherence with a patch in reds_stat tool to find statistic files. Allows to search such files using a shell pattern (allows to be used by functions like glob or fnmatch). Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- spice/stats.h | 1 + 1 file changed, 1 insertion(+) diff --git a/spice/stats.h b/spice/stats.h index 46bbfed..ebd1995 100644 --- a/spice/stats.h +++ b/spice/stats.h @@ -35,6 +35,7 @@ #include <spice/types.h> #define SPICE_STAT_SHM_NAME "/spice.%u" +#define SPICE_STAT_SHM_PATTERN "/spice.*" #define SPICE_STAT_NODE_NAME_MAX 20 #define SPICE_STAT_MAGIC SPICE_MAGIC_CONST("STAT") #define SPICE_STAT_VERSION 1 -- 2.13.5 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel