At line 22 added 1 line. |
+ The callbacks are stored as one list per node. |
Lines 24-26 were replaced by line 25 |
- In our example we have a module ''nodehandling''. |
- |
- Extract from nodehandling.h: |
+ Extract from (sics)hipadaba.h: |
Line 38 was replaced by line 37 |
- the callback. SetClassCast reveals if an anonymous message is a SetCallbackMsg. It returns |
+ the callback. SetCallbackCast reveals if an anonymous message is a SetCallbackMsg. It returns |
Line 41 was replaced by line 40 |
- Extract from nodehandling.c: |
+ Extract from (sics)hipadaba.c: |
Removed line 59 |
- setMsg.node = node; |
Line 65 was replaced by line 63 |
- for logging purposes. Checking of a particular class should be done by comparing |
+ for logging purposes. The check for a particular class is done by comparing |
Line 92 was replaced by line 90 |
- cb = MakeCallback(MySetCallback, data, (KillFunc)KillMyData); |
+ cb = MakeCallback(MySetCallback, data, (KillFunc *)KillMyData); |
Line 99 was replaced by line 97 |
- int CombinedCallback(Hdb *node, void * msg, void *data) { |
+ int CombinedCallback(Hdb *node, void *msg, void *data) { |
At line 118 added 10 lines. |
+ |
+ For the implementation of Hipadaba at least the following callbacks have |
+ to be implemented: |
+ |
+ * SetCallback |
+ * ReadCallback |
+ * UpdateCallback |
+ * KillForIDCallback |
+ * KillForInternalIDCallback |
+ |