summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b8ffa37)
raw | patch | inline | side by side (parent: b8ffa37)
author | Denis 'jawa' Pompilio <denis.pompilio@nbs-system.com> | |
Mon, 16 Oct 2017 08:15:50 +0000 (10:15 +0200) | ||
committer | Denis 'jawa' Pompilio <denis.pompilio@nbs-system.com> | |
Mon, 16 Oct 2017 10:26:03 +0000 (12:26 +0200) |
src/utils_format_kairosdb.c | patch | blob | history | |
src/utils_format_kairosdb.h | patch | blob | history |
index 63803afbb49766561b1a16193fbac0c444e2cf6e..c870abb4f6ca7b84f011b575b447fb792a48a3ea 100644 (file)
int store_rates,
char const *const *http_attrs,
size_t http_attrs_num, int data_ttl,
- char *metrics_prefix) {
+ char const *metrics_prefix) {
char temp[512];
size_t offset = 0;
int status;
size_t *ret_buffer_fill, size_t *ret_buffer_free, const data_set_t *ds,
const value_list_t *vl, int store_rates, size_t temp_size,
char const *const *http_attrs, size_t http_attrs_num, int data_ttl,
- char *metrics_prefix) {
+ char const *metrics_prefix) {
char temp[temp_size];
int status;
const data_set_t *ds, const value_list_t *vl,
int store_rates, char const *const *http_attrs,
size_t http_attrs_num, int data_ttl,
- char *metrics_prefix) {
+ char const *metrics_prefix) {
if ((buffer == NULL) || (ret_buffer_fill == NULL) ||
(ret_buffer_free == NULL) || (ds == NULL) || (vl == NULL))
return -EINVAL;
index 487103b4ffe34475e93ab6bd20e02bf0e36afd88..7b9e0e7ac7154cde3798ed5e06aa16d1ffd5b09c 100644 (file)
const value_list_t *vl, int store_rates,
char const *const *http_attrs,
size_t http_attrs_num, int data_ttl,
- char *metrics_prefix);
+ char const *metrics_prefix);
int format_kairosdb_finalize(char *buffer, size_t *ret_buffer_fill,
size_t *ret_buffer_free);