Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
BitchX
GitHub Repository: BitchX/BitchX1.3
Path: blob/master/include/newio.h
1069 views
1
/*
2
* newio.h -- header file for newio.c
3
*
4
* Copyright 1990, 1995 Michael Sandrof, Matthew Green
5
* Copyright 1997 EPIC Software Labs
6
*/
7
8
#ifndef __newio_h__
9
#define __newio_h__
10
11
#include "ssl.h"
12
13
extern int dgets_errno;
14
15
const char *dgets_strerror(int);
16
int BX_dgets (char *, int, int, int, void *);
17
int new_select (fd_set *, fd_set *, struct timeval *);
18
int BX_new_open (int);
19
int BX_new_close (int);
20
int new_close_write (int);
21
int new_open_write (int);
22
void set_socket_options (int);
23
size_t get_pending_bytes (int);
24
25
#define IO_BUFFER_SIZE 8192
26
27
#endif
28
29