X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=graph_ident.h;fp=graph_ident.h;h=5107011ed3dec9d9848ee874895c3cdf32df9bd5;hb=57811ec03166433462141458b43b1347199e0519;hp=442bcfeba499e6cd3402da090574b2d6ee63230e;hpb=8b5b9238a2efbc722b7c147707dc453aefe69f04;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;