-/* $Id: tag.h,v 1.11 2020/03/13 15:32:29 schwarze Exp $ */
+/* $Id: tag.h,v 1.14 2020/04/18 20:40:10 schwarze Exp $ */
/*
* Copyright (c) 2015, 2018, 2019, 2020 Ingo Schwarze <schwarze@openbsd.org>
*
#define TAG_FALLBACK (INT_MAX - 1) /* Tag only used if unique. */
#define TAG_DELETE (INT_MAX) /* Tag not used at all. */
-/*
- * Return values of tag_check().
- */
-enum tag_result {
- TAG_OK, /* Argument exists as a tag. */
- TAG_MISS, /* Argument not found. */
- TAG_EMPTY /* No tag exists at all. */
-};
-
-
void tag_alloc(void);
+int tag_exists(const char *);
void tag_put(const char *, int, struct roff_node *);
-enum tag_result tag_check(const char *);
+void tag_postprocess(struct roff_man *, struct roff_node *);
void tag_free(void);