Home | History | Annotate | Download | only in ServiceRegistration

Lines Matching refs:watcher

1 /* omr-watcher.h
63 #define omr_watcher_retain(watcher) omr_watcher_retain_(watcher, __FILE__, __LINE__)
64 #define omr_watcher_release(watcher) omr_watcher_release_(watcher, __FILE__, __LINE__)
99 // watcher: the omr_watcher_t to which to add the callback
112 // watcher: the watcher that returned the callback object.
136 // Starts the omr watcher object. Prior to calling omr_start, no events will be delivered; after calling omr_start, events may be delivered.
138 // watcher: pointer to an omr_watcher_t object to start.
139 bool omr_watcher_start(omr_watcher_t *NONNULL watcher);
144 // Cancels the omr watcher object. No callbacks can occur after omr_watcher_cancel has been called.
146 // watcher: pointer to an omr_watcher_t object to cancel.
147 void omr_watcher_cancel(omr_watcher_t *NONNULL watcher);
151 // Returns true if there is a prefix in the watcher's prefix list that has the specified priority.
153 // watcher: watcher we use for the search
157 bool omr_watcher_prefix_present(omr_watcher_t *NONNULL watcher, omr_prefix_priority_t priority,
162 // Returns true if the specified prefix is in the watcher's current prefix list.
164 // watcher: watcher we use for the search
168 bool omr_watcher_prefix_exists(omr_watcher_t *NONNULL watcher,
179 omr_watcher_prefix_wins(omr_watcher_t *NONNULL watcher, omr_prefix_priority_t priority,
188 omr_watcher_prefixes_get(omr_watcher_t *NONNULL watcher);
196 omr_watcher_prefix_add(omr_watcher_t *NONNULL watcher, const void *NONNULL data, int prefix_length, omr_prefix_priority_t priority);
204 omr_watcher_prefix_remove(omr_watcher_t *NONNULL watcher, const void *NONNULL data, int prefix_length);
211 bool omr_watcher_non_ula_prefix_present(omr_watcher_t *NONNULL watcher);