summaryrefslogtreecommitdiff
path: root/icclient/typedefs.h
blob: 68761440177ab09c5bca866c48da917c59b2d155 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef ICCLIENT_TYPEDEFS_H
#define ICCLIENT_TYPEDEFS_H

#include <stddef.h>
#ifdef __EMSCRIPTEN__
#include <emscripten/fetch.h>
typedef emscripten_fetch_t icclient_response;
#else
typedef struct {
	void *userData;
	char *data;
	size_t numBytes;
} icclient_response;
#endif

#endif