X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=graph_ident.h;h=5107011ed3dec9d9848ee874895c3cdf32df9bd5;hb=d16fd38d41ba3c36820ae105988f42c900fcb30f;hp=442bcfeba499e6cd3402da090574b2d6ee63230e;hpb=9f1edc0d06f42917c331199b67843f5201496514;p=collection4.git diff --git a/graph_ident.h b/graph_ident.h index 442bcfe..5107011 100644 --- a/graph_ident.h +++ b/graph_ident.h @@ -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;