command.h revision 151497
1239313Sdim// -*- C++ -*-
2239313Sdim/* Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
3239313Sdim     Written by James Clark (jjc@jclark.com)
4239313Sdim
5239313SdimThis file is part of groff.
6239313Sdim
7239313Sdimgroff is free software; you can redistribute it and/or modify it under
8239313Sdimthe terms of the GNU General Public License as published by the Free
9239313SdimSoftware Foundation; either version 2, or (at your option) any later
10239313Sdimversion.
11239313Sdim
12239313Sdimgroff is distributed in the hope that it will be useful, but WITHOUT ANY
13239313SdimWARRANTY; without even the implied warranty of MERCHANTABILITY or
14239313SdimFITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15239313Sdimfor more details.
16239313Sdim
17249423SdimYou should have received a copy of the GNU General Public License along
18249423Sdimwith groff; see the file COPYING.  If not, write to the Free Software
19243830SdimFoundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA. */
20239313Sdim
21239313Sdimvoid process_commands(const char *file);
22249423Sdimvoid process_commands(string &s, const char *file, int lineno);
23239313Sdim
24239313Sdimextern int accumulate;
25239313Sdimextern int move_punctuation;
26239313Sdimextern int search_default;
27239313Sdimextern search_list database_list;
28243830Sdimextern int label_in_text;
29243830Sdimextern int label_in_reference;
30243830Sdimextern int sort_adjacent_labels;
31239313Sdimextern string pre_label;
32243830Sdimextern string post_label;
33239313Sdimextern string sep_label;
34243830Sdim
35243830Sdimextern void do_bib(const char *);
36243830Sdimextern void output_references();
37243830Sdim