1184054Slulf/*-
2186743Slulf * Copyright (c) 2008-2009, Ulf Lilleengen <lulf@FreeBSD.org>
3184054Slulf * All rights reserved.
4184054Slulf *
5184054Slulf * Redistribution and use in source and binary forms, with or without
6184054Slulf * modification, are permitted provided that the following conditions
7184054Slulf * are met:
8184054Slulf * 1. Redistributions of source code must retain the above copyright
9184054Slulf *    notice, this list of conditions and the following disclaimer.
10184054Slulf * 2. Redistributions in binary form must reproduce the above copyright
11184054Slulf *    notice, this list of conditions and the following disclaimer in the
12184054Slulf *    documentation and/or other materials provided with the distribution.
13184054Slulf *
14184054Slulf * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15184054Slulf * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16184054Slulf * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17184054Slulf * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18184054Slulf * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19184054Slulf * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20184054Slulf * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21184054Slulf * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22184054Slulf * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23184054Slulf * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24184054Slulf * SUCH DAMAGE.
25184054Slulf *
26184054Slulf * $FreeBSD$
27184054Slulf */
28184054Slulf
29184054Slulf#ifndef _RCSPARSE_H_
30184054Slulf#define _RCSPARSE_H_
31185134Slulf#define ID		0
32185134Slulf#define NUM		1
33185134Slulf#define KEYWORD		2
34185134Slulf#define KEYWORD_TWO	3
35185134Slulf#define STRING		4
36185134Slulf#define SEMIC		5
37185134Slulf#define COLON		6
38184054Slulf
39184054Slulfstruct rcsfile;
40186700Slulfint	rcsparse_run(struct rcsfile *, FILE *, int);
41185134Slulf#endif /* !_RCSPARSE_H_ */
42