version 1.48, 2009/03/16 22:19:19 |
version 1.54, 2009/03/31 13:50:19 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se> |
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@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 |
* purpose with or without fee is hereby granted, provided that the |
|
|
#define MDOC__C 114 |
#define MDOC__C 114 |
#define MDOC_Es 115 |
#define MDOC_Es 115 |
#define MDOC_En 116 |
#define MDOC_En 116 |
#define MDOC_MAX 117 |
#define MDOC_Dx 117 |
|
#define MDOC__Q 118 |
|
#define MDOC_MAX 119 |
|
|
/* What follows is a list of ALL possible macro arguments. */ |
/* What follows is a list of ALL possible macro arguments. */ |
|
|
Line 299 void mdoc_free(struct mdoc *); |
|
Line 301 void mdoc_free(struct mdoc *); |
|
/* Allocate a new parser instance. */ |
/* Allocate a new parser instance. */ |
struct mdoc *mdoc_alloc(void *, int, const struct mdoc_cb *); |
struct mdoc *mdoc_alloc(void *, int, const struct mdoc_cb *); |
|
|
/* Set parse options. */ |
/* Gets system ready for another parse. */ |
void mdoc_setflags(struct mdoc *, int); |
int mdoc_reset(struct mdoc *); |
|
|
/* Parse a single line in a stream (boolean retval). */ |
/* Parse a single line in a stream (boolean retval). */ |
int mdoc_parseln(struct mdoc *, int, char *buf); |
int mdoc_parseln(struct mdoc *, int, char *buf); |
Line 319 int mdoc_endparse(struct mdoc *); |
|
Line 321 int mdoc_endparse(struct mdoc *); |
|
const char *mdoc_a2att(const char *); |
const char *mdoc_a2att(const char *); |
const char *mdoc_a2lib(const char *); |
const char *mdoc_a2lib(const char *); |
const char *mdoc_a2st(const char *); |
const char *mdoc_a2st(const char *); |
|
|
int mdoc_isdelim(const char *); |
|
|
|
__END_DECLS |
__END_DECLS |
|
|