Lines Matching defs:callback
33 * the application can also provide a callback function, in which case an
35 * callback function.
59 OSSL_trace_cb callback;
68 size_t cnt = ctx->callback(buf, num, ctx->category, OSSL_TRACE_CTRL_WRITE,
92 /* We know that the callback is likely to return 0 here */
93 ctx->callback("", 0, ctx->category, cmd, ctx->data);
259 /* Make sure to run the detach callback first on all data */
311 /* Finally, run the attach callback on the new data */
373 "Attach channel %p to category '%s' (with callback)\n",
391 int OSSL_trace_set_callback(int category, OSSL_trace_cb callback, void *data)
400 if (callback != NULL) {
406 trace_data->callback = callback;