version 1.1, 2009/02/21 19:05:28 |
version 1.3, 2009/02/22 15:50:45 |
|
|
#define TERMP_NOSPACE (1 << 2) /* No space before words. */ |
#define TERMP_NOSPACE (1 << 2) /* No space before words. */ |
#define TERMP_NOLPAD (1 << 3) /* No leftpad before flush. */ |
#define TERMP_NOLPAD (1 << 3) /* No leftpad before flush. */ |
#define TERMP_NOBREAK (1 << 4) /* No break after flush. */ |
#define TERMP_NOBREAK (1 << 4) /* No break after flush. */ |
|
#define TERMP_LITERAL (1 << 5) /* Literal words. */ |
char *buf; |
char *buf; |
}; |
}; |
|
|
|
|
int (*pre)(struct termp *, |
int (*pre)(struct termp *, |
const struct mdoc_meta *, |
const struct mdoc_meta *, |
const struct mdoc_node *); |
const struct mdoc_node *); |
int (*post)(struct termp *, |
void (*post)(struct termp *, |
const struct mdoc_meta *, |
const struct mdoc_meta *, |
const struct mdoc_node *); |
const struct mdoc_node *); |
}; |
}; |
|
|
|
void termprint(const struct mdoc_node *, |
|
const struct mdoc_meta *); |
|
|
void newln(struct termp *); |
void newln(struct termp *); |
void vspace(struct termp *); |
void vspace(struct termp *); |
void word(struct termp *, const char *); |
void word(struct termp *, const char *); |
void flushln(struct termp *); |
void flushln(struct termp *); |
|
void transcode(struct termp *, |
|
const char *, size_t); |
|
|
const struct termact *termacts; |
const struct termact *termacts; |
|
|