]> www.average.org Git - psmb.git/blob - psmb_priv.h
9b57d390861a5f414e479e28e7b8e67b3740f746
[psmb.git] / psmb_priv.h
1 #ifndef _PSMB_PRIV_H
2
3 #include <stdlib.h>
4
5 struct _psmb_ctx psmb_ctx_t {
6         int fd;
7         void *(*malloc)(size_t size);
8         void (*free)(void *ptr);
9         void *(*realloc)(void *ptr, size_t size);
10         int pmtu;
11         /* data here */
12 };
13
14 struct _psmb_result {
15         int code;
16 };
17
18 #endif