Home
last modified time | relevance | path

Searched refs:oid_table (Results 1 – 1 of 1) sorted by relevance

/external/avahi/avahi-compat-howl/
Dcompat.c84 oid_data oid_table[OID_MAX]; member
99 #define OID_GET_INDEX(data) ((sw_discovery_oid) (((data) - ((data)->discovery->oid_table))))
233 if (self->oid_table[self->oid_index].type == OID_UNUSED) { in oid_alloc()
234 self->oid_table[self->oid_index].type = type; in oid_alloc()
235 self->oid_table[self->oid_index].discovery = self; in oid_alloc()
237 assert(OID_GET_INDEX(&self->oid_table[self->oid_index]) == self->oid_index); in oid_alloc()
254 assert(self->oid_table[oid].type != OID_UNUSED); in oid_release()
256 self->oid_table[oid].type = OID_UNUSED; in oid_release()
257 self->oid_table[oid].discovery = NULL; in oid_release()
258 self->oid_table[oid].reply = NULL; in oid_release()
[all …]