projects
/
psmb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add private header for structs
[psmb.git]
/
src
/
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