diff options
Diffstat (limited to 'src/dosbox_snif/utils.h')
-rw-r--r-- | src/dosbox_snif/utils.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/dosbox_snif/utils.h b/src/dosbox_snif/utils.h new file mode 100644 index 0000000..a7031a8 --- /dev/null +++ b/src/dosbox_snif/utils.h @@ -0,0 +1,11 @@ +#ifndef _UTILS_H +#define _UTILS_H + +#include <stdint.h> + +int tcp_client_init(char host[], char port[], int *sockfd); +void flatten(char *seg_off); +int hexascii2bin(char src[], void *dst, int maxlen); +int bit_position(uint16_t flags); + +#endif /*_UTIL_H*/ |