summaryrefslogtreecommitdiffstats
path: root/client.h
blob: cd595cecdb24926b2d3b293cb5a3fadd00ed0efe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _CLIENT_H_
#define _CLIENT_H_

#include "types.h"

void client_free(epoll_client_t *client);

void client_callback(void *data, int haveIn, int haveOut, int doCleanup);

BOOL client_send(epoll_client_t *client, const char *buffer, size_t len, const BOOL cork);

BOOL client_searchResultError(epoll_client_t *client, const unsigned long messageId, const int code, const char *message);

#endif