Main Page | Class List | File List | Class Members | File Members

socket.c File Reference

#include "config.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <signal.h>
#include "screen.h"
#include <dirent.h>
#include "extern.h"

Classes

struct  pwdata

Defines

#define SOCKMODE   (S_IWRITE | S_IREAD | (displays ? S_IEXEC : 0) | (multi ? 1 : 0))
#define TTYCMP(a, b)   strcmp(a, b)

Functions

char * getenv ()
int FindSocket (int *fdp, int *nfoundp, int *notherp, char *match)
int MakeServerSocket ()
int MakeClientSocket (int err)
void SendCreateMsg (char *sty, struct NewWindow *nwin)
int SendErrorMsg (char *tty, char *buf)
void ReceiveMsg ()
int chsock ()
int RecoverSocket ()

Variables

char * RcFileName
char * extra_incap
char * extra_outcap
int ServerSocket
int real_uid
int real_gid
int eff_uid
int eff_gid
int dflag
int iflag
int rflag
int lsflag
int quietflag
int wipeflag
int xflag
char * attach_tty
char * LoginName
char HostName []
displaydisplay
displaydisplays
winfore
winwtab []
winconsole_window
winwindows
layerflayer
NewWindow nwin_undef
char * multi
char SockPath []
event serv_read
char * rc_name
comm comms []

Define Documentation

#define SOCKMODE   (S_IWRITE | S_IREAD | (displays ? S_IEXEC : 0) | (multi ? 1 : 0))
 

#define TTYCMP a,
 )     strcmp(a, b)
 


Function Documentation

int chsock  ) 
 

int FindSocket int *  fdp,
int *  nfoundp,
int *  notherp,
char *  match
 

char* getenv  ) 
 

int MakeClientSocket int  err  ) 
 

int MakeServerSocket  ) 
 

void ReceiveMsg  ) 
 

int RecoverSocket  ) 
 

void SendCreateMsg char *  sty,
struct NewWindow nwin
 

int SendErrorMsg char *  tty,
char *  buf
 


Variable Documentation

char* attach_tty
 

struct comm comms[]
 

struct win * console_window
 

int dflag
 

struct display* display
 

struct display * displays
 

int eff_gid
 

int eff_uid
 

char * extra_incap
 

char * extra_outcap
 

struct layer* flayer
 

struct win* fore
 

char HostName[]
 

int iflag
 

char * LoginName
 

int lsflag
 

char* multi
 

struct NewWindow nwin_undef
 

int quietflag
 

char* rc_name
 

char* RcFileName
 

int real_gid
 

int real_uid
 

int rflag
 

struct event serv_read
 

int ServerSocket
 

char SockPath[]
 

struct win * windows
 

int wipeflag
 

struct win * wtab[]
 

int xflag
 


Generated on Sat Jul 2 20:56:17 2005 for GNU Screen by  doxygen 1.4.3