aboutsummaryrefslogtreecommitdiff
path: root/net/net.h
blob: 0bf5b629bbd7e4d461600f3f9297429c16024dbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * Adopted from mcrcon, Copyright (c) 2012-2020, Tiiffi <tiiffi at gmail>.
 * https://github.com/Tiiffi/mcrcon/tree/b02201d689b3032bc681b28f175fd3d83d167293
 */

#ifndef _NET_H
#define _NET_H

int net_connect(const char *host, const char *port, int *out);
void net_close(int sd);

#endif // _NET_H