X-Git-Url: http://www.average.org/gitweb/?p=psmb.git;a=blobdiff_plain;f=src%2Fpsmb_priv.h;h=5e3c2adb596dc5c8fc223ecedf6630fa2e47c4f8;hp=b2717f9281f931dc1ceabe65b716fc766ef21cf2;hb=a8e5ec1ed734952452dde1fba33cc7be206cb28b;hpb=20b696a4f530bab420be36972f6a19d36b0f7080 diff --git a/src/psmb_priv.h b/src/psmb_priv.h index b2717f9..5e3c2ad 100644 --- a/src/psmb_priv.h +++ b/src/psmb_priv.h @@ -1,6 +1,7 @@ #ifndef _PSMB_PRIV_H #include +#include #include #define PSMB_OK 0 @@ -37,8 +38,6 @@ struct _psmb_ctx { struct _msg incoming; }; -struct _psmb_result { - int code; -}; +#define LOG(ctx, ...) (*ctx->logf)(ctx->log_priv, __VA_ARGS__) #endif