diff --git a/src/graph_ident.h b/src/graph_ident.h
index e4a12a04adaebd6c343b1979378d98f2fccb6406..f76c0c9f647858f0a9e4425acd0e91f7f0a2cd2d 100644 (file)
--- a/src/graph_ident.h
+++ b/src/graph_ident.h
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);