Link with C++ linker
[oweals/cde.git] / cde / programs / dtksh / genlib.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: genlib.h /main/4 1995/11/01 15:55:32 rswiston $ */
24 /************************************<+>*************************************
25  ****************************************************************************
26  **
27  **   File:        genlib.h
28  **
29  **   Project:     CDE
30  **
31  **   Description: Public include file for genlib.c
32  **
33  **
34  **   (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992
35  **       by Hewlett-Packard Company
36  **
37  **
38  **
39  ****************************************************************************
40  ************************************<+>*************************************/
41
42 #ifndef _Dtksh_genlib_h
43 #define _Dtksh_genlib_h
44
45 #include "exksh.h"
46
47 extern struct libstruct *All_libs;
48
49
50
51 extern int xk_usage( 
52                         char *funcname) ;
53 extern unsigned long fsym( 
54                         char *str,
55                         int lib) ;
56 extern int do_findsym( 
57                         int argc,
58                         char **argv) ;
59 #ifndef SPRINTF_RET_LEN
60 extern int lsprintf( 
61                         char *buf,
62                         char *fmt,
63                         unsigned long arg1,
64                         unsigned long arg2,
65                         unsigned long arg3,
66                         unsigned long arg4,
67                         unsigned long arg5,
68                         unsigned long arg6,
69                         unsigned long arg7) ;
70 #endif
71
72
73
74 #endif /* _Dtksh_genlib_h */
75 /* DON'T ADD ANYTHING AFTER THIS #endif */