version 1.11, 2020/03/13 15:32:29 |
version 1.14, 2020/04/18 20:40:10 |
|
|
#define TAG_FALLBACK (INT_MAX - 1) /* Tag only used if unique. */ |
#define TAG_FALLBACK (INT_MAX - 1) /* Tag only used if unique. */ |
#define TAG_DELETE (INT_MAX) /* Tag not used at all. */ |
#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); |
void tag_alloc(void); |
|
int tag_exists(const char *); |
void tag_put(const char *, int, struct roff_node *); |
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); |
void tag_free(void); |