Main Page   Compound List   File List   Compound Members   File Members  

lwld.c File Reference

#include "speakfree.h"
#include "version.h"

Compounds

struct  lwl

Defines

#define LockConn()
#define UnlockConn()
#define TockTock   120
#define TimeoutTime   15 * 60
#define ServiceThreadTimeout   60
#define MaxReplyPacket   512
#define HTML_REFRESH   "<meta http-equiv=\"Refresh\" content=\"%d\">\n"
#define P(x)   fprintf(of, x)
#define addSDES(item, text)   add_sdes_item(item, text, &ap)

Functions

char * etime (int gmt)
char * estime (void)
char * dupSdesItem (char **cp)
void destroyLwl (struct lwl *lw)
void dumpLwl (FILE *fo, struct lwl *lw)
void logLwl (struct lwl *lw, char *event)
int gardol (unsigned char *p, int len)
void makeHTML (char *fname, int private)
void updHTML (void)
void changed (void)
void lcase (char *s)
void forwardList (char *cp)
void forwardLwlMessage (char *zp, int rll, struct in_addr addr)
int queryMatch (char *q, struct lwl *l)
void release ()
void plumber ()
void exiting ()
char * prog_name (char *arg)
void usage (void)
void add_sdes_item (int item, char *text, char **app)
void servicePacket (int csock, struct sockaddr_in from)
int main (int argc, char *argv[])

Variables

int sock
char * prog
int lwlport = Internet_Port + 2
int debugging = FALSE
int verbose = FALSE
int prolix = FALSE
char * htmlFile = NULL
char * htmlPrivateFile = NULL
int htmlTime = 1 * 60
time_t htmlLast = 0
int htmlChange = TRUE
int htmlRefresh = 0
char * message = NULL
int messagel
sockaddr_in lookhost
in_addr lwl_sites [LWL_MAX_SITES]
long lwl_ports [LWL_MAX_SITES]
int lwl_nsites = 0
lwlconn = NULL

Define Documentation

#define addSDES item,
text       add_sdes_item(item, text, &ap)
 

#define HTML_REFRESH   "<meta http-equiv=\"Refresh\" content=\"%d\">\n"
 

 
#define LockConn  
 

#define MaxReplyPacket   512
 

#define P      fprintf(of, x)
 

#define ServiceThreadTimeout   60
 

#define TimeoutTime   15 * 60
 

#define TockTock   120
 

 
#define UnlockConn  
 


Function Documentation

void add_sdes_item int    item,
char *    text,
char **    app
[static]
 

void changed void    [static]
 

void destroyLwl struct lwl   lw [static]
 

void dumpLwl FILE *    fo,
struct lwl   lw
[static]
 

char* dupSdesItem char **    cp [static]
 

char* estime void    [static]
 

char* etime int    gmt [static]
 

void exiting   [static]
 

void forwardList char *    cp [static]
 

void forwardLwlMessage char *    zp,
int    rll,
struct in_addr    addr
[static]
 

int gardol unsigned char *    p,
int    len
[static]
 

void lcase char *    s [static]
 

void logLwl struct lwl   lw,
char *    event
[static]
 

int main int    argc,
char *    argv[]
 

void makeHTML char *    fname,
int    private
[static]
 

void plumber   [static]
 

char* prog_name char *    arg [static]
 

int queryMatch char *    q,
struct lwl   l
[static]
 

void release   [static]
 

void servicePacket int    csock,
struct sockaddr_in    from
[static]
 

void updHTML void    [static]
 

void usage void    [static]
 


Variable Documentation

struct lwl* conn = NULL [static]
 

int debugging = FALSE [static]
 

int htmlChange = TRUE [static]
 

char* htmlFile = NULL [static]
 

time_t htmlLast = 0 [static]
 

char* htmlPrivateFile = NULL [static]
 

int htmlRefresh = 0 [static]
 

int htmlTime = 1 * 60 [static]
 

struct sockaddr_in lookhost [static]
 

int lwl_nsites = 0 [static]
 

long lwl_ports[LWL_MAX_SITES] [static]
 

struct in_addr lwl_sites[LWL_MAX_SITES] [static]
 

int lwlport = Internet_Port + 2 [static]
 

char* message = NULL [static]
 

int messagel [static]
 

char* prog [static]
 

int prolix = FALSE [static]
 

int sock [static]
 

int verbose = FALSE [static]
 


Generated on Tue Feb 10 08:44:18 2004 for Speak-FreelyforUnix by doxygen1.2.18