X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=graph_ident.h;h=abc451db0edc95ee005f11fe93e7b2ef8b2dcbcd;hb=379b04abccb88f539f4532c825537831cc6660dc;hp=09f3f0782aceb7f9354e2c93395e0e8c6b33cc3e;hpb=477b8a38dc1b3d0ae5e726f765722c962b2fcb46;p=collection4.git diff --git a/graph_ident.h b/graph_ident.h index 09f3f07..abc451d 100644 --- a/graph_ident.h +++ b/graph_ident.h @@ -9,8 +9,10 @@ graph_ident_t *ident_create (const char *host, const char *type, const char *type_instance); graph_ident_t *ident_clone (const graph_ident_t *ident); +#define IDENT_FLAG_REPLACE_ALL 0x01 +#define IDENT_FLAG_REPLACE_ANY 0x02 graph_ident_t *ident_copy_with_selector (const graph_ident_t *selector, - const graph_ident_t *ident, _Bool keep_all_selector); + const graph_ident_t *ident, unsigned int flags); void ident_destroy (graph_ident_t *ident);