[DGD]DGD extension interface, some thoughts

E. Harte harte at xs4all.nl
Wed Sep 27 16:03:12 CEST 2000


On Wed, 27 Sep 2000, Felix A. Croes wrote:

[...]
> >
> > How do you picture this 'differentiating'.  By checking the existance of a
> > 'special' function, contents of a variable, or something completely
> > different?  To help the various module maintainers it might be useful to
> > at least provide a way to label the special object with a string value...
> 
> Each object has an "etabi" (external table index) field, which can be
> used for fast lookup in an external table.  However, this may ultimately
> be insufficient since the etabi field is not restored from the state
> dump -- it is meant to be a quick link from object to external state in
> a running driver, only, and it may be too costly to have an etabi field
> of the required width in each and every object.
> 
> You could either use object->state hashtables, or store the type of the
> state in the object's extra variable.

The latter of course requiring some inter-package discipline, which is
where a basic package "manager" comes in.  Gotcha. :-)

Erwin.
-- 
Erwin Harte  -  Forever September, 2584 and counting  -  harte at xs4all.nl
[ 1:55pm  up 49 days, 18:25, 14 users,  load average: 0.00, 0.00, 0.00 ]


List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list