]> www.average.org Git - psmb.git/blobdiff - src/psmb_priv.h
use 'struct in6_pktinfo' from linux/ipv6.h
[psmb.git] / src / psmb_priv.h
index 517f0cf67ece3853dcee9bd24b0a9d3478cfb29f..c80ae62169548b009f8ef63797c72be9e6ee8efe 100644 (file)
@@ -7,6 +7,7 @@
 #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
@@ -38,10 +39,6 @@ struct _psmb_ctx {
        struct _msg incoming;
 };
 
-struct _psmb_result {
-       int code;
-};
-
 #define LOG(ctx, ...) (*ctx->logf)(ctx->log_priv, __VA_ARGS__)
 
 #endif