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/_variable.h,v 1.6 2004/06/09 16:14:27 davidt Exp $ 10 */ 11 12 #include <dxconfig.h> 13 14 15 #if 0 16 These access methods are specifically used to operate on dictionary entries 17 which are user-variable definitions. 18 #endif 19 20 #ifndef __VARIABLE_H 21 #define __VARIABLE_H 22 23 #include "d.h" 24 25 #if defined(__cplusplus) || defined(c_plusplus) 26 extern "C" { 27 #endif 28 29 int _dxf_ExVariableInsert(char *name, EXDictionary dict, EXObj obj); 30 int _dxf_ExVariableDelete(char *name, EXDictionary dict); 31 EXObj _dxf_ExVariableSearch(char *name, EXDictionary dict); 32 void _dxf_ExGVariableSetStr(char *var, char *val); 33 char * _dxf_ExGVariableGetStr(char *var); 34 int _dxf_ExVariableInsertNoBackground(char *name, EXDictionary dict, EXO_Object obj); 35 36 Error _dxf_ExUpdateGlobalDict (char *name, Object obj, 37 int cause_execution); 38 EXObj _dxf_ExGlobalVariableSearch (char *name); 39 Error DXSetIntVariable(char *name, int val, int sync, 40 int cause_execution); 41 Error DXSetVariable(char *name, Object obj, int sync, 42 int cause_execution); 43 Error DXGetIntVariable(char *name, int *val); 44 45 #if defined(__cplusplus) || defined(c_plusplus) 46 } 47 #endif 48 49 #endif /* __VARIABLE_H */ 50