6 static void logprt(void *log_priv, int priority, const char *format, ...)
10 (void)vfprintf(stderr, format, ap);
11 (void)fprintf(stderr, "\n");
15 int main(int argc, char *argv[], char *envp[])
18 psmb_ctx_t *ctx = psmb_new();
20 printf("created psmb at %p\n", ctx);
21 res = psmb_set_logf(ctx, logprt, NULL);