Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / programs / dtksh / extra.h
1 /* $XConsortium: extra.h /main/4 1995/11/01 15:55:04 rswiston $ */
2 /************************************<+>*************************************
3  ****************************************************************************
4  **
5  **   File:        extra.h
6  **
7  **   Project:     CDE
8  **
9  **   Description: Public include file for extra.c
10  **
11  **
12  **   (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992
13  **       by Hewlett-Packard Company
14  **
15  **
16  **
17  ****************************************************************************
18  ************************************<+>*************************************/
19
20 #ifndef _Dtksh_extra_h
21 #define _Dtksh_extra_h
22
23
24
25 extern void env_set( 
26                         char *var) ;
27 extern void env_set_gbl( 
28                         char *vareqval) ;
29 extern char * env_get( 
30                         char *var) ;
31 extern void * xkhash_init( 
32                         int num) ;
33 extern void xkhash_override( 
34                         Hash_table_t *tbl,
35                         const char *name,
36                         void *val) ;
37 extern void * xkhash_find( 
38                         Hash_table_t *tbl,
39                         const char *name) ;
40 extern void xkhash_add( 
41                         Hash_table_t *tbl,
42                         const char *name,
43                         char *val) ;
44 extern int ksh_eval( 
45                         char *cmd) ;
46 extern void env_set_var( 
47                         char *var,
48                         char *val) ;
49 extern void env_blank( 
50                         char *var) ;
51 extern void printerr( 
52                         char *cmd,
53                         char *msg1,
54                         char *msg2) ;
55 extern void printerrf( 
56                         char *cmd,
57                         char *fmt,
58                         char *arg0,
59                         char *arg1,
60                         char *arg2,
61                         char *arg3,
62                         char *arg4,
63                         char *arg5,
64                         char *arg6,
65                         char *arg7) ;
66
67
68
69 #endif /* _Dtksh_extra_h */
70 /* DON'T ADD ANYTHING AFTER THIS #endif */