Tokens that begin with two underscores __* or an underscore and an uppercase letter _X* are reserved, so we should avoid those for our own include guards. The standard I'm settling on for foo.h is FOO_H_.
27 lines
578 B
C
27 lines
578 B
C
/*
|
|
* newio.h -- header file for newio.c
|
|
*
|
|
* Copyright 1990, 1995 Michael Sandrof, Matthew Green
|
|
* Copyright 1997 EPIC Software Labs
|
|
*/
|
|
#ifndef NEWIO_H_
|
|
#define NEWIO_H_
|
|
|
|
#include "ssl.h"
|
|
|
|
extern int dgets_errno;
|
|
|
|
const char *dgets_strerror(int);
|
|
int BX_dgets (char *, int, int, int, void *);
|
|
int new_select (fd_set *, fd_set *, struct timeval *);
|
|
int BX_new_open (int);
|
|
int BX_new_close (int);
|
|
int new_close_write (int);
|
|
int new_open_write (int);
|
|
void set_socket_options (int);
|
|
size_t get_pending_bytes (int);
|
|
|
|
#define IO_BUFFER_SIZE 8192
|
|
|
|
#endif
|