summaryrefslogtreecommitdiff
path: root/include/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net.h')
-rw-r--r--include/net.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net.h b/include/net.h
index e6cb32a..b2b415f 100644
--- a/include/net.h
+++ b/include/net.h
@@ -9,18 +9,18 @@
typedef struct string_view string_view;
-struct memory {
+struct net_write_data {
char *buffer;
size_t size;
};
-struct net_fwrite_userdata {
+struct net_file_write_data {
FILE *file;
};
int net_init();
void net_shutdown();
-int net_send_request(char *url, struct memory *mem, int write_opts);
+int net_send_request(char *url, int write_opts, void *userdata);
#endif