Files
screen/src/socket.h
Simon Ruderich 263d9c6c8d make all header files self-contained and include it in the source file
Including the header in the source file guarantees matching signatures,
thus preventing subtle errors.

Self-contained headers document the required headers and makes using it
easier to use the header in new source files.
2016-02-07 17:57:37 +01:00

18 lines
437 B
C

#ifndef SCREEN_SOCKET_H
#define SCREEN_SOCKET_H
#include "window.h"
int FindSocket (int *, int *, int *, char *);
int MakeClientSocket (int);
int MakeServerSocket (void);
int RecoverSocket (void);
int chsock (void);
void ReceiveMsg (void);
void SendCreateMsg (char *, struct NewWindow *);
int SendErrorMsg (char *, char *);
int SendAttachMsg (int, Message *, int);
void ReceiveRaw (int);
#endif /* SCREEN_SOCKET_H */