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