X-Git-Url: https://git.octo.it/?p=collection4.git;a=blobdiff_plain;f=src%2Fgraph_ident.h;h=f76c0c9f647858f0a9e4425acd0e91f7f0a2cd2d;hp=e4a12a04adaebd6c343b1979378d98f2fccb6406;hb=16078f690bbc4379460c49b1f059a46a2c2b35a2;hpb=b7964890095a49ac8f1e03c32a2181ac334cd7cf diff --git a/src/graph_ident.h b/src/graph_ident.h index e4a12a0..f76c0c9 100644 --- a/src/graph_ident.h +++ b/src/graph_ident.h @@ -33,12 +33,12 @@ graph_ident_t *ident_copy_with_selector (const graph_ident_t *selector, void ident_destroy (graph_ident_t *ident); -const char *ident_get_host (graph_ident_t *ident); -const char *ident_get_plugin (graph_ident_t *ident); -const char *ident_get_plugin_instance (graph_ident_t *ident); -const char *ident_get_type (graph_ident_t *ident); -const char *ident_get_type_instance (graph_ident_t *ident); -const char *ident_get_field (graph_ident_t *ident, +const char *ident_get_host (const graph_ident_t *ident); +const char *ident_get_plugin (const graph_ident_t *ident); +const char *ident_get_plugin_instance (const graph_ident_t *ident); +const char *ident_get_type (const graph_ident_t *ident); +const char *ident_get_type_instance (const graph_ident_t *ident); +const char *ident_get_field (const graph_ident_t *ident, graph_ident_field_t field); int ident_set_host (graph_ident_t *ident, const char *host);