summaryrefslogtreecommitdiff
path: root/reverse-engineering/dosbox_snif/utils.h
blob: a7031a846b11cb29007e13b64dd8756322c3f372 (plain)
1
2
3
4
5
6
7
8
9
10
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*/