summaryrefslogtreecommitdiffstats
path: root/avahi-core/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-core/server.h')
-rw-r--r--avahi-core/server.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/avahi-core/server.h b/avahi-core/server.h
index 600e442..3e439f9 100644
--- a/avahi-core/server.h
+++ b/avahi-core/server.h
@@ -42,6 +42,8 @@ typedef struct AvahiEntry AvahiEntry;
#define AVAHI_MAX_LEGACY_UNICAST_REFLECT_SLOTS 100
+#define AVAHI_FLAGS_VALID(flags, max) (!((flags) & ~(max)))
+
typedef struct AvahiLegacyUnicastReflectSlot AvahiLegacyUnicastReflectSlot;
struct AvahiLegacyUnicastReflectSlot {
@@ -61,7 +63,7 @@ struct AvahiEntry {
int dead;
- AvahiEntryFlags flags;
+ AvahiPublishFlags flags;
AvahiRecord *record;
AvahiIfIndex interface;
AvahiProtocol protocol;