next up previous contents index
Next: PEN_GET_HANDLE() Up: RCB_REGISTERCALLBACK(whatcallback,extra) Previous: RCB_PEN_NOPOLL

Command sent dbs

 

Register a callback functions which is called when the workspace send commands to DBS. When called with a NULL function or a NULL value, restores the default handler in LIBLINCKS. The callback function is declared to return to a integer value, even though it is not used yet. The `extra' argument is passed to the callback function when it is called. The possible value for `what' which correspond to different messages sent to DBS are:

The call format of the callback function is:

(*callback)(void *extra, int index, int moltype);

where the argument have the following declaration and content:

The function returns the previous callback function, if any.



next up previous contents index
Next: PEN_GET_HANDLE() Up: RCB_REGISTERCALLBACK(whatcallback,extra) Previous: RCB_PEN_NOPOLL



Martin Sjolin
Thu Jun 15 20:41:59 MET DST 1995