summaryrefslogtreecommitdiff
path: root/include/net.h
blob: f5991226c49f5a8a623d60123f7bfac093f98040 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef NET_H
#define NET_H

#include <stddef.h>

struct memory {
    char *buffer;
    size_t size;
};

int net_init();
void net_shutdown();

int net_send_request(char *url, struct memory *mem);

#endif