Lines Matching defs:object
247 nwamd_loc_check(nwamd_object_t object, void *data)
250 nwam_loc_handle_t loch = object->nwamd_object_handle;
258 lactivation = loc_get_activation_mode(object->nwamd_object_handle);
269 object->nwamd_object_name);
270 wa->winning_object = object;
274 object->nwamd_object_name);
275 if (object->nwamd_object_state != NWAM_STATE_DISABLED) {
277 object->nwamd_object_name,
290 object->nwamd_object_name);
291 wa->winning_object = object;
315 wa->winning_object = object;
326 object->nwamd_object_name);
327 wa->winning_object = object;
342 nwamd_ncu_online_check(nwamd_object_t object, void *data)
345 nwamd_ncu_t *ncu_data = object->nwamd_object_data;
350 if (object->nwamd_object_state == NWAM_STATE_ONLINE) {
417 nwamd_object_t object;
426 "read object '%s': %s", event->event_object,
431 if ((object = nwamd_object_find(NWAM_OBJECT_TYPE_LOC,
433 old_enabled = loc_is_enabled(object->nwamd_object_handle);
434 nwam_loc_free(object->nwamd_object_handle);
435 object->nwamd_object_handle = loch;
437 object = nwamd_object_init(NWAM_OBJECT_TYPE_LOC,
439 object->nwamd_object_state = NWAM_STATE_OFFLINE;
440 object->nwamd_object_aux_state =
444 state = object->nwamd_object_state;
445 nwamd_object_release(object);
466 nwamd_object_t object;
472 if ((object = nwamd_object_find(NWAM_OBJECT_TYPE_LOC,
479 nwamd_object_release_and_destroy(object);
485 nwamd_object_t object;
489 object = nwamd_object_find(NWAM_OBJECT_TYPE_LOC,
491 if (object == NULL) {
497 if (object->nwamd_object_state == NWAM_STATE_ONLINE) {
501 nwamd_object_release(object);
504 nwamd_object_release(object);
511 object = nwamd_object_find(NWAM_OBJECT_TYPE_LOC,
513 if (object == NULL) {
519 if (object->nwamd_object_state == NWAM_STATE_DISABLED) {
523 nwamd_object_release(object);
526 nwamd_object_release(object);
549 nwamd_object_t object;
553 if ((object = nwamd_object_find(NWAM_OBJECT_TYPE_LOC,
564 if (new_state == object->nwamd_object_state &&
565 new_aux_state == object->nwamd_object_aux_state) {
568 object->nwamd_object_name,
571 nwamd_object_release(object);
575 object->nwamd_object_state = new_state;
576 object->nwamd_object_aux_state = new_aux_state;
579 "%s to (%s , %s)", object->nwamd_object_name,
580 nwam_state_to_string(object->nwamd_object_state),
581 nwam_aux_state_to_string(object->nwamd_object_aux_state));
583 nwamd_object_release(object);