1*95c635efSGarrett D'Amore /* $Id: lib.c,v 1.9 2011/03/22 14:33:05 kristaps Exp $ */
2*95c635efSGarrett D'Amore /*
3*95c635efSGarrett D'Amore * Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv>
4*95c635efSGarrett D'Amore *
5*95c635efSGarrett D'Amore * Permission to use, copy, modify, and distribute this software for any
6*95c635efSGarrett D'Amore * purpose with or without fee is hereby granted, provided that the above
7*95c635efSGarrett D'Amore * copyright notice and this permission notice appear in all copies.
8*95c635efSGarrett D'Amore *
9*95c635efSGarrett D'Amore * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10*95c635efSGarrett D'Amore * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11*95c635efSGarrett D'Amore * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12*95c635efSGarrett D'Amore * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13*95c635efSGarrett D'Amore * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14*95c635efSGarrett D'Amore * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15*95c635efSGarrett D'Amore * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16*95c635efSGarrett D'Amore */
17*95c635efSGarrett D'Amore #ifdef HAVE_CONFIG_H
18*95c635efSGarrett D'Amore #include "config.h"
19*95c635efSGarrett D'Amore #endif
20*95c635efSGarrett D'Amore
21*95c635efSGarrett D'Amore #include <stdlib.h>
22*95c635efSGarrett D'Amore #include <string.h>
23*95c635efSGarrett D'Amore #include <time.h>
24*95c635efSGarrett D'Amore
25*95c635efSGarrett D'Amore #include "mdoc.h"
26*95c635efSGarrett D'Amore #include "mandoc.h"
27*95c635efSGarrett D'Amore #include "libmdoc.h"
28*95c635efSGarrett D'Amore
29*95c635efSGarrett D'Amore #define LINE(x, y) \
30*95c635efSGarrett D'Amore if (0 == strcmp(p, x)) return(y);
31*95c635efSGarrett D'Amore
32*95c635efSGarrett D'Amore const char *
mdoc_a2lib(const char * p)33*95c635efSGarrett D'Amore mdoc_a2lib(const char *p)
34*95c635efSGarrett D'Amore {
35*95c635efSGarrett D'Amore
36*95c635efSGarrett D'Amore #include "lib.in"
37*95c635efSGarrett D'Amore
38*95c635efSGarrett D'Amore return(NULL);
39*95c635efSGarrett D'Amore }
40