/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2007, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
#ifndef MISC_H
#define MISC_H
-#include <ctype.h>
#include <stdio.h>
-#include <sys/types.h>
#ifdef _WIN32
#include <windows.h>
-#else
-#include <netinet/in.h>
#endif
-typedef short coord; /* also change NSC_COORD in nsc.h */
-
struct ioqueue;
extern char empirehost[];
extern char empireport[];
extern int eight_bit_clean;
-extern char num_teles[];
extern int sock;
extern char *SO;
extern char *SE;
int login(int s, char *uname, char *cname, char *cpass, int kill_proc, int);
void saveargv(int ac, char **src, char **dst);
void sendcmd(int s, char *cmd, char *arg);
-int sendeof(int sock);
void servercmd(struct ioqueue *ioq, FILE *auxfi);
int serverio(int s, struct ioqueue *ioq);
int termio(int fd, int sock, FILE *auxfi);