Merge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code
[oweals/cde.git] / cde / programs / dtksh / extra.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: extra.h /main/4 1995/11/01 15:55:04 rswiston $ */
24 /************************************<+>*************************************
25  ****************************************************************************
26  **
27  **   File:        extra.h
28  **
29  **   Project:     CDE
30  **
31  **   Description: Public include file for extra.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_extra_h
43 #define _Dtksh_extra_h
44
45
46
47 extern void env_set( 
48                         char *var) ;
49 extern void env_set_gbl( 
50                         char *vareqval) ;
51 extern char * env_get( 
52                         char *var) ;
53 extern void * xkhash_init( 
54                         int num) ;
55 extern void xkhash_override( 
56                         Hash_table_t *tbl,
57                         const char *name,
58                         void *val) ;
59 extern void * xkhash_find( 
60                         Hash_table_t *tbl,
61                         const char *name) ;
62 extern void xkhash_add( 
63                         Hash_table_t *tbl,
64                         const char *name,
65                         char *val) ;
66 extern int ksh_eval( 
67                         char *cmd) ;
68 extern void env_set_var( 
69                         char *var,
70                         char *val) ;
71 extern void env_blank( 
72                         char *var) ;
73 extern void printerr( 
74                         char *cmd,
75                         char *msg1,
76                         char *msg2) ;
77 extern void printerrf( 
78                         char *cmd,
79                         char *fmt,
80                         char *arg0,
81                         char *arg1,
82                         char *arg2,
83                         char *arg3,
84                         char *arg4,
85                         char *arg5,
86                         char *arg6,
87                         char *arg7) ;
88
89
90
91 #endif /* _Dtksh_extra_h */
92 /* DON'T ADD ANYTHING AFTER THIS #endif */