citadel
About: Citadel is an advanced messaging and collaboration system for groupware and BBS applications (preferred OS: Linux).
  Fossies Dox: citadel.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Loading...
Searching...
No Matches
clientsocket.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int sock_connect (char *host, char *service)
 
int sock_write (int *sock, const char *buf, int nbytes)
 
int sock_write_timeout (int *sock, const char *buf, int nbytes, int timeout)
 
int ml_sock_gets (int *sock, char *buf, int nSec)
 
int sock_getln (int *sock, char *buf, int bufsize)
 
int CtdlSockGetLine (int *sock, StrBuf *Target, int nSec)
 
int sock_puts (int *sock, char *buf)
 
int socket_read_blob (int *Socket, StrBuf *Target, int bytes, int timeout)
 

Function Documentation

◆ CtdlSockGetLine()

int CtdlSockGetLine ( int * sock,
StrBuf * Target,
int nSec )

Definition at line 107 of file clientsocket.c.

References CC.

Referenced by sock_getln(), and sock_getln_err().

◆ ml_sock_gets()

int ml_sock_gets ( int * sock,
char * buf,
int nSec )

Definition at line 232 of file clientsocket.c.

References SIZ, and sock_getln_err().

◆ sock_connect()

int sock_connect ( char * host,
char * service )

Definition at line 22 of file clientsocket.c.

Referenced by clamd(), and spam_assassin().

◆ sock_getln()

int sock_getln ( int * sock,
char * buf,
int bufsize )

Definition at line 124 of file clientsocket.c.

References CC, and CtdlSockGetLine().

Referenced by clamd(), and spam_assassin().

◆ sock_puts()

int sock_puts ( int * sock,
char * buf )

Definition at line 259 of file clientsocket.c.

References sock_write().

◆ sock_write()

int sock_write ( int * sock,
const char * buf,
int nbytes )

Definition at line 147 of file clientsocket.c.

References sock_write_timeout().

Referenced by clamd(), sock_puts(), and spam_assassin().

◆ sock_write_timeout()

int sock_write_timeout ( int * sock,
const char * buf,
int nbytes,
int timeout )

Definition at line 152 of file clientsocket.c.

References timeout().

Referenced by sock_write().

◆ socket_read_blob()

int socket_read_blob ( int * Socket,
StrBuf * Target,
int bytes,
int timeout )

Definition at line 95 of file clientsocket.c.

References CC.