[DGD] My idea for the DGD driver - validate

Robert Forshaw iouswuoibev at hotmail.com
Thu Feb 12 22:26:48 CET 2004


And here is an amendment to the following paragraph of my original post, 
which became truncated for some reason:

The idea is that there would be a keyword, for example, validate, for a 
function. Any function declared with this keyword can not be called by 
anything except the driver. Now, when naughty_object does a call_other to 
OBJECTD, or whatever, if there is a validate function there then that 
function will be called instead of the function specified. If the function 
bearing the validate keyword returns zero, the execution halts and the 
function that was the first argument of call_other is never called. If one 
is returned, execution may continue as normal and the function that was the 
first argument of call_other is called normally and transparently.

_________________________________________________________________
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo

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



More information about the DGD mailing list