static int values_to_kairosdb (char *buffer, size_t buffer_size, /* {{{ */
const data_set_t *ds, const value_list_t *vl, int store_rates,
static int values_to_kairosdb (char *buffer, size_t buffer_size, /* {{{ */
const data_set_t *ds, const value_list_t *vl, int store_rates,
BUFFER_ADD (",\"%s\": %s", (key), temp); \
} while (0)
BUFFER_ADD (",\"%s\": %s", (key), temp); \
} while (0)
{
/* All value lists have a leading comma. The first one will be replaced with
* a square bracket in `format_kairosdb_finalize'. */
{
/* All value lists have a leading comma. The first one will be replaced with
* a square bracket in `format_kairosdb_finalize'. */