typedef struct dp_data_point_s dp_data_point_t;
/* Callback passed to the "get_idents" function. */
-typedef int (*dp_get_idents_callback) (const graph_ident_t *, void *);
+typedef int (*dp_get_idents_callback) (graph_ident_t *, void *);
/* Callback passed to the "get_ident_ds_names" function. */
-typedef int (*dp_list_get_ident_ds_names_callback) (const graph_ident_t *,
+typedef int (*dp_list_get_ident_ds_names_callback) (graph_ident_t *,
const char *ds_name, void *);
/* Callback passed to the "get_ident_data" function. */
} /* }}} int ident_data_to_json__get_ident_data */
/* Called for each DS name */
-static int ident_data_to_json__get_ds_name (const graph_ident_t *ident, /* {{{ */
+static int ident_data_to_json__get_ds_name (graph_ident_t *ident, /* {{{ */
const char *ds_name, void *user_data)
{
ident_data_to_json__data_t *data = user_data;
return (status);
} /* }}} int ident_data_to_json__get_ds_name */
-int ident_data_to_json (const graph_ident_t *ident, /* {{{ */
+int ident_data_to_json (graph_ident_t *ident, /* {{{ */
dp_time_t begin, dp_time_t end,
yajl_gen handler)
{
char *ident_to_file (const graph_ident_t *ident);
int ident_to_json (const graph_ident_t *ident,
yajl_gen handler);
-int ident_data_to_json (const graph_ident_t *ident,
+int ident_data_to_json (graph_ident_t *ident,
dp_time_t begin, dp_time_t end,
yajl_gen handler);
return (0);
} /* }}} int gl_register_file */
-static int gl_register_ident (const graph_ident_t *ident, /* {{{ */
+static int gl_register_ident (graph_ident_t *ident, /* {{{ */
__attribute__((unused)) void *user_data)
{
/* TODO: Check for duplicates if multiple data providers are used. */