1 /***********************************************************************/
2 /* Open Visualization Data Explorer                                    */
3 /* (C) Copyright IBM Corp. 1989,1999                                   */
4 /* ALL RIGHTS RESERVED                                                 */
5 /* This code licensed under the                                        */
6 /*    "IBM PUBLIC LICENSE - Open Visualization Data Explorer"          */
7 /***********************************************************************/
8 /*
9  * $Header: /src/master/dx/src/exec/dpexec/pendingcmds.h,v 1.4 2006/01/04 22:00:49 davidt Exp $
10  */
11 
12 #if defined(__cplusplus) || defined(c_plusplus)
13 extern "C" {
14 #endif
15 
16 #ifndef _PENDINGCMDS_H
17 #define _PENDINGCMDS_H
18 
19 #define PJL_KEY "__PendingObjectList"
20 typedef int (*PFI_P)(Private);
21 
22 typedef struct
23 {
24     char    *major;
25     char    *minor;
26     PFI_P   job;
27     Private data;
28 } PendingCmd;
29 
30 typedef struct
31 {
32     Object       exprivate;
33     PendingCmd  *pendingCmdList;
34     int          pendingCmdListMax;
35     int          pendingCmdListSize;
36 } PendingCmdList;
37 
38 Error _dxf_RunPendingCmds();
39 Error _dxf_CleanupPendingCmdList();
40 
41 #endif /* _PENDINGCMDS_H */
42 
43 #if defined(__cplusplus) || defined(c_plusplus)
44 }
45 #endif
46