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