2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
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)
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
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
25 * $XConsortium: gil_loadattP.h /main/3 1995/11/06 18:29:01 rswiston $
27 * @(#)gil_loadattP.h 1.9 20 Jan 1995 cde_app_builder/src/libABil
29 * RESTRICTED CONFIDENTIAL INFORMATION:
31 * The information in this document is subject to special
32 * restrictions in a confidential disclosure agreement between
33 * HP, IBM, Sun, USL, SCO and Univel. Do not distribute this
34 * document outside HP, IBM, Sun, USL, SCO, or Univel without
35 * Sun's specific written approval. This document and all copies
36 * and derivative works thereof must be returned or destroyed at
39 * Copyright 1993 Sun Microsystems, Inc. All rights reserved.
44 * loadatt.h - load attribute (GIL) header file
46 #ifndef _ABIL_LOADATT_H_
47 #define _ABIL_LOADATT_H_
49 #include <ab_private/obj.h>
54 BOOL bools[AB_OBJ_MAX_CHILDREN];
60 AB_OBJECT_STATE states[AB_OBJ_MAX_CHILDREN];
62 } INITIAL_STATE_ARRAY;
66 ISTRING strings[AB_OBJ_MAX_CHILDREN];
72 AB_LABEL_TYPE label_types[AB_OBJ_MAX_CHILDREN];
76 int istr_array_init(ISTRING_ARRAY *array);
77 int istr_array_uninit(ISTRING_ARRAY *array);
79 int gilP_load_attribute_value(FILE *inFile,
80 ABObj obj, AB_GIL_ATTRIBUTE attr, ABObj root);
81 int gilP_load_bools(FILE *inFile, BOOL_ARRAY *bools);
82 int gilP_load_label_types(FILE *inFile,
83 LABEL_TYPE_ARRAY *label_types);
84 int gilP_load_initial_states(FILE *inFile,
85 INITIAL_STATE_ARRAY *states);
86 int gilP_load_string(FILE *inFile, ISTRING *string);
87 int gilP_load_strings(FILE *inFile, ISTRING_ARRAY *strings);
88 int gilP_load_name(FILE *inFile, ISTRING *name);
89 int gilP_load_names(FILE *inFile, ISTRING_ARRAY *names);
90 int gilP_load_handler(FILE *inFile, ISTRING *handler);
91 int gilP_load_handlers(FILE *inFile, ISTRING_ARRAY *handlers);
92 int gilP_load_file_names(FILE *inFile, ISTRING_ARRAY *names);
93 int gilP_load_file_name(FILE *inFile, ISTRING *name);
95 #endif /* _ABIL_LOADATT_H_ */