No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / groff / src / include / searchpath.h
blobf78278ace9e8b0e64f76a52904a530e70c4803fd
1 /* $NetBSD$ */
3 // -*- C++ -*-
4 /* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2003
5 Free Software Foundation, Inc.
6 Written by James Clark (jjc@jclark.com)
8 This file is part of groff.
10 groff is free software; you can redistribute it and/or modify it under
11 the terms of the GNU General Public License as published by the Free
12 Software Foundation; either version 2, or (at your option) any later
13 version.
15 groff is distributed in the hope that it will be useful, but WITHOUT ANY
16 WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18 for more details.
20 You should have received a copy of the GNU General Public License along
21 with groff; see the file COPYING. If not, write to the Free Software
22 Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA. */
24 class search_path {
25 char *dirs;
26 unsigned init_len;
27 public:
28 search_path(const char *envvar, const char *standard,
29 int add_home, int add_current);
30 ~search_path();
31 void command_line_dir(const char *);
32 FILE *open_file(const char *, char **);
33 FILE *open_file_cautious(const char *, char ** = 0, const char * = 0);