Lines Matching defs:state
59 static void client_set_state (AvahiClient *client, AvahiServerState state) {
62 if (client->state == state)
65 client->state = state;
67 switch (client->state) {
101 client->callback (client, state, client->userdata);
153 } else if (client->state == AVAHI_CLIENT_CONNECTING && (!old || *old == 0)) {
167 /* Ignore messages we get in unconnected state */
170 int32_t state;
176 DBUS_TYPE_INT32, &state,
188 client_set_state(client, (AvahiClientState) state);
200 int32_t state;
206 DBUS_TYPE_INT32, &state,
219 avahi_entry_group_set_state(g, state);
308 int32_t state;
323 if (!dbus_message_get_args(reply, &error, DBUS_TYPE_INT32, &state, DBUS_TYPE_INVALID) ||
327 client_set_state(client, (AvahiServerState) state);
496 client->state = (AvahiClientState) -1;
774 return client->state;
889 (client->state == AVAHI_CLIENT_S_RUNNING || client->state == AVAHI_CLIENT_S_REGISTERING || client->state == AVAHI_CLIENT_S_COLLISION);