summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4f64997)
raw | patch | inline | side by side (parent: 4f64997)
author | Florian Forster <octo@collectd.org> | |
Sat, 23 Jun 2012 18:50:01 +0000 (20:50 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Sat, 23 Jun 2012 18:50:01 +0000 (20:50 +0200) |
src/utils_vl_lookup.c | patch | blob | history | |
src/utils_vl_lookup.h | patch | blob | history |
diff --git a/src/utils_vl_lookup.c b/src/utils_vl_lookup.c
index 0f86bff2432d4c7a14b30754e75f057a85af9cf7..2dada2473d5c35b16aab662c04b920d5a08d0768 100644 (file)
--- a/src/utils_vl_lookup.c
+++ b/src/utils_vl_lookup.c
};
typedef struct by_type_entry_s by_type_entry_t;
-#define LU_IS_ANY(str) (strcmp (str, "/any/") == 0)
-#define LU_IS_ALL(str) (strcmp (str, "/all/") == 0)
-#define LU_IS_WILDCARD(str) (LU_IS_ANY(str) || LU_IS_ALL(str))
-
/*
* Private functions
*/
diff --git a/src/utils_vl_lookup.h b/src/utils_vl_lookup.h
index e115ec8dac40a50f63b8c13e9bb5b8b3eed3067f..c006fc7ff681ea88faed0b263f1b2a375bf34392 100644 (file)
--- a/src/utils_vl_lookup.h
+++ b/src/utils_vl_lookup.h
};
typedef struct identifier_s identifier_t;
+#define LU_ANY "/any/"
+#define LU_ALL "/all/"
+
+#define LU_IS_ANY(str) (strcmp (str, LU_ANY) == 0)
+#define LU_IS_ALL(str) (strcmp (str, LU_ALL) == 0)
+#define LU_IS_WILDCARD(str) (LU_IS_ANY(str) || LU_IS_ALL(str))
+
/*
* Functions
*/