collection.conf: Configure the "memory" graph.
[collection4.git] / graph_ident.h
index 442bcfe..5107011 100644 (file)
@@ -4,6 +4,9 @@
 #define ANY_TOKEN "/any/"
 #define ALL_TOKEN "/all/"
 
+#define IS_ANY(str) (((str) != NULL) && (strcasecmp (ANY_TOKEN, (str)) == 0))
+#define IS_ALL(str) (((str) != NULL) && (strcasecmp (ALL_TOKEN, (str)) == 0))
+
 struct graph_ident_s;
 typedef struct graph_ident_s graph_ident_t;