]> www.average.org Git - psmb.git/blobdiff - include/psmb.h
save errnos
[psmb.git] / include / psmb.h
index e975de4ab87a24842a940f2954e70209bcecd37a..5092f6a3eaceb117869961e4ba6bf542a8dea5fb 100644 (file)
@@ -10,7 +10,9 @@ psmb_ctx_t *psmb_new(void);
 psmb_ctx_t *psmb_new_mm(void *(*malloc)(size_t size),
                        void (*free)(void *ptr),
                        void *(*realloc)(void *ptr, size_t size));
-psmb_result_t psmb_set_pmtu(psmb_ctx_t *ctx, int pmtu);
+psmb_result_t psmb_set_pmtu(psmb_ctx_t *ctx, unsigned int pmtu);
+psmb_result_t psmb_set_port(psmb_ctx_t *ctx, unsigned short pmtu);
+psmb_result_t psmb_set_mgrp(psmb_ctx_t *ctx, struct {unsigned char _uc[16];} pfx, unsigned char bits);
 psmb_result_t psmb_open(psmb_ctx_t *ctx);
 void psmb_destroy(psmb_ctx_t *ctx);
 int psmb_getfd(psmb_ctx_t *ctx);