#ifndef _PSMB_PRIV_H
#include <stdlib.h>
+#include <syslog.h>
#include <netinet/in.h>
#define PSMB_OK 0
#define PSMB_ERROR 1
#define PSMB_NEED_WRITE 2
+#define PSMB_MESSAGE 4
#define PSMB_DEFAULT_PORT 5313
#define PSMB_DEFAULT_PMTU 1452
struct _msg incoming;
};
-struct _psmb_result {
- int code;
-};
+#define LOG(ctx, ...) (*ctx->logf)(ctx->log_priv, __VA_ARGS__)
#endif