New server.h for server startup, control and shutdown, i.e. stuff in

src/server.  Use it.
This commit is contained in:
Markus Armbruster 2004-02-19 19:02:30 +00:00
parent 8115388a58
commit 22a356b1e1
19 changed files with 73 additions and 24 deletions

View file

@ -38,6 +38,7 @@
#include "proto.h"
#include "prototypes.h"
#include "optlist.h"
#include "server.h"
/*ARGSUSED*/
void

View file

@ -41,6 +41,7 @@
#include <stdio.h>
#include "prototypes.h"
#include "optlist.h"
#include "server.h"
/*ARGSUSED*/
void

View file

@ -64,14 +64,11 @@
#include "product.h"
#include "optlist.h"
#include "global.h"
#include "server.h"
#include "prototypes.h"
s_char program[] = "server";
extern void player_accept(void *);
extern void player_kill_idle(void *);
extern void update_sched(void *);
extern void delete_lostitems(void *);
void nullify_objects(void);
void init_files(void);
void close_files(void);

View file

@ -37,6 +37,7 @@
#include "keyword.h"
#include "empthread.h"
#include "file.h"
#include "server.h"
#include <stdio.h>
#include "prototypes.h"

View file

@ -40,12 +40,12 @@
#include <stdio.h>
#include "prototypes.h"
#include "optlist.h"
#include "server.h"
/*ARGSUSED*/
void
mobility_check(void *argv)
{
extern int updating_mob;
struct mob_acc_globals timestamps;
time_t now;
FILE *fp;
@ -93,7 +93,6 @@ mobility_check(void *argv)
void
mobility_init(void)
{
extern int updating_mob;
struct mob_acc_globals timestamps;
time_t now;
time_t lastsavedtime;

View file

@ -38,6 +38,7 @@
#include "empthread.h"
#include "prototypes.h"
#include "optlist.h"
#include "server.h"
empth_sem_t *update_sem;