main.h

00001 /*
00002  * $Header: /cvsroot/overdose/overdose/html/main_8h-source.html,v 1.2 2006/04/11 15:09:07 segin Exp $
00003  */
00004 
00005 #include <pthread.h>
00006 #include <stdio.h>
00007 #include "strutil.h"
00008 #include <string.h>
00009 /* The following header is missing or unneeded on Windows */
00010 #ifndef __WIN32__
00011 #include <sys/ioctl.h>
00012 #endif
00013 /* cause we must init WinSock */
00014 #ifdef __WIN32__
00015 #include <winsock2.h>
00016 #else
00017 #include <sys/socket.h>
00018 #include <netinet/in.h>
00019 #include <netdb.h>
00020 #endif
00021 char *defserver, *defroom, *defuser, *username, **users;
00022 pthread_t thrdid;
00023 int s, connected, logdin, joindroom, tson, col;
00024 void timestamp(void);
00025 void wrongopt(char *opt);
00026 void showversion(void);
00027 void showhelp(int exitstatus);
00028 void noarg(char *opt);
00029 void printusers();
00030 void atlogout();
00031 void yrecvd(int service, char *content, int len);
00032 void *recvthread();
00033 void disconnect();
00034 void quit();
00035 char *readline(FILE *f);
00036 void readconfig();
00037 int conn(char *host);
00038 int login(char *id);
00039 void join(char *room);
00040 void debug_message(char *msg);
00041 void updateroom();

Generated on Tue Apr 11 11:01:32 2006 by  doxygen 1.4.5