Lines Matching refs:status

137 struct status {
170 str_port_status(enum port_status status)
172 switch (status) {
181 return "unknown port status";
185 str_srv_data_status(enum srv_lookup_status status)
187 switch (status) {
198 return "unknown SRV lookup status";
202 str_server_status(enum server_status status)
204 switch (status) {
217 return "unknown server status";
317 set_srv_data_status(struct srv_data *data, enum srv_lookup_status status)
320 data->meta->service->name, str_srv_data_status(status));
323 data->srv_lookup_status = status;
327 * This function will return the status of the server. If the status was
328 * last updated a long time ago, we will first reset the status.
347 DEBUG(SSSDBG_CONF_SETTINGS, "Reseting the server status of '%s'\n",
358 "status of '%s'\n", SERVER_NAME(server));
366 * This function will return the status of the service. If the status was
367 * last updated a long time ago, we will first reset the status.
376 "Port status of port %d for server '%s' is '%s'\n", server->port,
384 "Reseting the status of port %d for server '%s'\n",
1066 enum server_status status);
1265 int status;
1277 status = get_srv_data_status(server->srv_data);
1278 DEBUG(SSSDBG_FUNC_DATA, "The status of SRV lookup is %s\n",
1279 str_srv_data_status(status));
1280 switch(status) {
1317 /* The port status was reseted to neutral but we still haven't reached
1319 * status back to not working. */
1329 "Unexpected status %d for a SRV server\n", status);
1490 enum server_status status)
1493 str_server_status(status));
1495 common->server_status = status;
1500 fo_set_server_status(struct fo_server *server, enum server_status status)
1504 "Bug: Trying to set server status of a name-less server\n");
1508 set_server_common_status(server->common, status);
1512 fo_set_port_status(struct fo_server *server, enum port_status status)
1518 SERVER_NAME(server), str_port_status(status));
1520 server->port_status = status;
1522 if (status == PORT_WORKING) {
1531 * status */
1537 str_port_status(status));
1538 siter->port_status = status;