MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / prt_que

Function prt_que

src/utilities/print_event.cpp:280–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278
279
280static void prt_que(const char* string, const srq* que_inst)
281{
282/**************************************
283 *
284 * p r t _ q u e
285 *
286 **************************************
287 *
288 * Functional description
289 * Print the contents of a self-relative que.
290 *
291 **************************************/
292 SLONG offset = SRQ_REL_PTR(que_inst);
293
294 if (offset == que_inst->srq_forward && offset == que_inst->srq_backward)
295 printf("%s: *empty*\n", string);
296 else
297 printf("%s: forward: %d, backward: %d\n",
298 string, que_inst->srq_forward, que_inst->srq_backward);
299}

Callers 1

event_table_dumpFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected