X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgraph_ident.h;h=f76c0c9f647858f0a9e4425acd0e91f7f0a2cd2d;hb=8e72ccc76582cf1f68b6e9e4816ac0bd785fc7d8;hp=e4a12a04adaebd6c343b1979378d98f2fccb6406;hpb=89bc58e9605fef04667f0e0b9004863b4f46d304;p=collection4.git 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);