Annotation of mandoc/man.h, Revision 1.44
1.44 ! kristaps 1: /* $Id: man.h,v 1.43 2010/08/20 01:02:07 schwarze Exp $ */
1.1 kristaps 2: /*
1.42 schwarze 3: * Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
1.1 kristaps 4: *
5: * Permission to use, copy, modify, and distribute this software for any
1.11 kristaps 6: * purpose with or without fee is hereby granted, provided that the above
7: * copyright notice and this permission notice appear in all copies.
1.1 kristaps 8: *
1.11 kristaps 9: * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10: * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11: * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12: * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13: * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14: * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15: * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1.1 kristaps 16: */
17: #ifndef MAN_H
18: #define MAN_H
19:
20: #include <time.h>
21:
22: extern const char *const *man_macronames;
23:
24: __BEGIN_DECLS
25:
26: struct man;
27:
28: void man_free(struct man *);
1.43 schwarze 29: struct man *man_alloc(struct regset *, void *, mandocmsg);
1.23 kristaps 30: void man_reset(struct man *);
1.39 kristaps 31: int man_parseln(struct man *, int, char *, int);
1.1 kristaps 32: int man_endparse(struct man *);
33:
34: const struct man_node *man_node(const struct man *);
35: const struct man_meta *man_meta(const struct man *);
36:
37: __END_DECLS
38:
39: #endif /*!MAN_H*/
CVSweb