[SI_AUDIOD_UPTIME] = "audiod_uptime",
[SI_SELECTOR] = "dbtool"
};
-#define FOR_EACH_STAT_ITEM(i) for (i = 0; i < NUM_STAT_ITEMS; i++)
static void dump_stat_client_list(void)
{
PARA_DEBUG_LOG("%d client(s)\n", num_clients);
}
-/**
- * send empty status list
- *
- * Send to each connected client the full status item list
- * with empty values.
- */
-void dump_empty_status(void)
-{
- int i;
-
- if (!initialized)
- return;
- FOR_EACH_STAT_ITEM(i) {
- char *tmp = make_message("%s:\n", status_item_list[i]);
- stat_client_write(tmp, i);
- free(tmp);
- }
-}
/**
* check if string is a known status item.