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/cachegraph.h,v 1.3 2000/08/11 15:28:09 davidt Exp $ 10 */ 11 12 #include <dxconfig.h> 13 14 15 #ifndef _CACHEGRAPH_H 16 #define _CACHEGRAPH_H 17 18 #include "graph.h" 19 20 /*---------------------------------------------------------------*/ 21 /* This function maintains a table with path/cache tag entries */ 22 /* It searches a table looking for the current path and if found */ 23 /* 1. does nothing if the cache tag hasn't changed */ 24 /* 2. replaces the current entry with the new path/tag entry */ 25 /* if the cache tag has changed, and deletes the object */ 26 /* identified by the old cache tag from the cache */ 27 /* Note: cache entry may not necessarily be in the cache ... */ 28 /* Question: Should this be conditional -i.e. based on the */ 29 /* setting of a user specified "cache once" switch? */ 30 /*---------------------------------------------------------------*/ 31 int _dxf_ExManageCacheTable(ModPath *cpath, uint32 reccrc, int outnbr); 32 33 #endif /* _CACHEGRAPH_H */ 34