aboutsummaryrefslogtreecommitdiff
path: root/src/socketstream.h
blob: 76d842a5455b455aa48bc2f7b25a101492e0a48d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef SOCKETSTREAM_H
#define SOCKETSTREAM_H

#include "stream.h"

typedef struct SocketStream SocketStream;

struct SocketStream
{
    Stream base;
    int sock;
};

int SocketStreamOpen(SocketStream *stream, int sock);

#endif