convert all Imakefile LinuxDistribution to LinuxArchitecture.
[oweals/cde.git] / cde / programs / dtksh / struct.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: struct.h /main/4 1995/11/01 15:56:45 rswiston $ */
24 /************************************<+>*************************************
25  ****************************************************************************
26  **
27  **   File:        struct.h
28  **
29  **   Project:     CDE
30  **
31  **   Description: Public include file for struct.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_struct_h
43 #define _Dtksh_struct_h
44
45 #include "exksh.h"
46
47
48
49 extern memtbl_t * ffind( 
50                         memtbl_t *tbl,
51                         char *fld,
52                         char **pptr) ;
53 extern int do_struct( 
54                         int argc,
55                         char **argv) ;
56 extern int do_typedef( 
57                         int argc,
58                         char **argv) ;
59 extern int parse_decl( 
60                         char * argv0,
61                         struct memtbl *mem,
62                         char *decl,
63                         int tst) ;
64 extern int do_structlist( 
65                         int argc,
66                         char **argv) ;
67 extern int add_structlist( 
68                         struct memtbl **memptr,
69                         char *prefix,
70                         int id) ;
71 extern int strparse( 
72                         memtbl_t *tbl,
73                         char **pbuf,
74                         char *val) ;
75 extern int strfree( 
76                         char *buf,
77                         char *type) ;
78 extern int do_sizeof( 
79                         int argc,
80                         char **argv) ;
81 extern memtbl_t * all_tbl_find( 
82                         char *name,
83                         int tbl,
84                         long id) ;
85 extern memtbl_t * all_tbl_search( 
86                         char *name,
87                         int flag) ;
88 extern memtbl_t * asl_find( 
89                         memtbl_t *ptbl,
90                         memtbl_t *tbls,
91                         char *fld,
92                         char **pptr) ;
93
94
95
96 #endif /* _Dtksh_struct_h */
97 /* DON'T ADD ANYTHING AFTER THIS #endif */