aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tag.h
diff options
context:
space:
mode:
Diffstat (limited to 'tag.h')
-rw-r--r--tag.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/tag.h b/tag.h
index 0d37a66a..407b7c94 100644
--- a/tag.h
+++ b/tag.h
@@ -1,4 +1,4 @@
-/* $Id: tag.h,v 1.11 2020/03/13 15:32:29 schwarze Exp $ */
+/* $Id: tag.h,v 1.12 2020/04/02 22:12:55 schwarze Exp $ */
/*
* Copyright (c) 2015, 2018, 2019, 2020 Ingo Schwarze <schwarze@openbsd.org>
*
@@ -28,17 +28,7 @@
#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_free(void);