summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 08c90b0)
raw | patch | inline | side by side (parent: 08c90b0)
author | Sebastian Harl <sh@tokkee.org> | |
Wed, 10 Dec 2014 23:15:55 +0000 (00:15 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 10 Dec 2014 23:15:55 +0000 (00:15 +0100) |
An attribute can be assigned to any of the other types. This approach allows
to represent host-, service-, and metric-attributes in one byte.
to represent host-, service-, and metric-attributes in one byte.
src/include/core/store.h | patch | blob | history |
index 6edbea4f173e89000f7869217b145a38ec3294be..2253d55a417ed65f75a422c244810bbdd02e6f8f 100644 (file)
--- a/src/include/core/store.h
+++ b/src/include/core/store.h
SDB_HOST = 1,
SDB_SERVICE,
SDB_METRIC,
- SDB_ATTRIBUTE,
+
+ SDB_ATTRIBUTE = 1 << 4,
/*
* Queryable fields of a stored object.