| 54 | } |
| 55 | |
| 56 | void process(int pass) |
| 57 | { |
| 58 | if (!events) |
| 59 | return; |
| 60 | |
| 61 | ISC_ULONG tot = 0; |
| 62 | if (counter) |
| 63 | { |
| 64 | isc_event_counts(&tot, eveLen, eveBuffer, eveResult); |
| 65 | |
| 66 | events->release(); |
| 67 | events = NULL; |
| 68 | counter = 0; |
| 69 | events = attachment->queEvents(&status, this, eveLen, eveBuffer); |
| 70 | } |
| 71 | |
| 72 | if (tot && !first) |
| 73 | printf("Event count on pass %d is %d\n", pass, tot); |
| 74 | else |
| 75 | printf("Pass %d - no events\n", pass); |
| 76 | |
| 77 | first = false; |
| 78 | } |
| 79 | |
| 80 | // IEventCallback implementation |
| 81 | void eventCallbackFunction(unsigned int length, const ISC_UCHAR* data) |
no test coverage detected