Return to libmandoc.h CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.71, 2018/04/09 22:27:04 | version 1.73, 2018/08/23 19:33:27 | ||
---|---|---|---|
|
|
||
/* $Id$ */ | /* $Id$ */ | ||
/* | /* | ||
* Copyright (c) 2009, 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> | * Copyright (c) 2009, 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> | ||
* Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org> | * Copyright (c) 2013,2014,2015,2017,2018 Ingo Schwarze <schwarze@openbsd.org> | ||
* | * | ||
* Permission to use, copy, modify, and distribute this software for any | * Permission to use, copy, modify, and distribute this software for any | ||
* purpose with or without fee is hereby granted, provided that the above | * purpose with or without fee is hereby granted, provided that the above | ||
|
|
||
ROFF_RERUN, /* re-run roff interpreter with offset */ | ROFF_RERUN, /* re-run roff interpreter with offset */ | ||
ROFF_APPEND, /* re-run main parser, appending next line */ | ROFF_APPEND, /* re-run main parser, appending next line */ | ||
ROFF_REPARSE, /* re-run main parser on the result */ | ROFF_REPARSE, /* re-run main parser on the result */ | ||
ROFF_USERCALL, /* dto., calling a user-defined macro */ | |||
ROFF_USERRET, /* abort parsing of user-defined macro */ | |||
ROFF_SO, /* include another file */ | ROFF_SO, /* include another file */ | ||
ROFF_IGN, /* ignore current line */ | ROFF_IGN, /* ignore current line */ | ||
}; | }; | ||
struct buf { | struct buf { | ||
char *buf; | char *buf; | ||
size_t sz; | size_t sz; | ||
struct buf *next; | |||
}; | }; | ||
|
|
||
const char *, int); | const char *, int); | ||
void roff_man_reset(struct roff_man *); | void roff_man_reset(struct roff_man *); | ||
enum rofferr roff_parseln(struct roff *, int, struct buf *, int *); | enum rofferr roff_parseln(struct roff *, int, struct buf *, int *); | ||
void roff_userret(struct roff *); | |||
void roff_endparse(struct roff *); | void roff_endparse(struct roff *); | ||
void roff_setreg(struct roff *, const char *, int, char sign); | void roff_setreg(struct roff *, const char *, int, char sign); | ||
int roff_getreg(struct roff *, const char *); | int roff_getreg(struct roff *, const char *); |