X-Git-Url: http://www.average.org/gitweb/?p=psmb.git;a=blobdiff_plain;f=include%2Fpsmb.h;h=5092f6a3eaceb117869961e4ba6bf542a8dea5fb;hp=e975de4ab87a24842a940f2954e70209bcecd37a;hb=b59ce6ecc3287f39125703670720c8323235c8ac;hpb=8309c3b0f167256776fb0cb96fc2c8becd4ed144 diff --git a/include/psmb.h b/include/psmb.h index e975de4..5092f6a 100644 --- a/include/psmb.h +++ b/include/psmb.h @@ -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);