Add GNU LGPL headers to all .c .C and .h files
[oweals/cde.git] / cde / programs / dtdocbook / sgmls / appl.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
6  * These libraries and programs are free software; you can
7  * redistribute them and/or modify them under the terms of the GNU
8  * Lesser General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * These libraries and programs are distributed in the hope that
13  * they will be useful, but WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  * PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these librararies and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /* $XConsortium: appl.h /main/3 1996/06/19 17:14:17 drk $ */
24 /* appl.h */
25
26 enum {
27      E_NOMEM = 1,
28      E_DOC,
29      E_EXEC,
30      E_FORK,
31      E_WAIT,
32      E_SIGNAL,
33      E_OPEN,
34      E_CAPBOTCH,
35      E_SUBDOC
36 };
37
38 VOID process_document P((int));
39 VOID output_conforming P((void));
40
41 UNIV xmalloc P((UNS));
42 UNIV xrealloc P((UNIV, UNS));
43 VOID appl_error VP((int, ...));
44
45 #ifdef SUPPORT_SUBDOC
46 int run_process P((char **));
47 char **make_argv P((UNIV));
48 VOID get_subcaps P((void));
49 #endif
50
51 #ifdef SUPPORT_SUBDOC
52 extern int suberr;
53 #endif
54
55 extern int suppsw;
56 extern int locsw;