reboot.h

cdirt/include/reboot.h · 618 B

From the archive cdirt242.tar.gz

Download the archive   « Back to the archive contents

#ifndef _REBOOT_H
#define _REBOOT_H

typedef struct _reboot_record {
  char		version[10];
  int		main_socket;
  time_t	last_startup;
  int		numresets;
  int		numreboots;
  int		numcrashes;
  time_t	last_reset;
  int		climate_time;
  int		climate_day;
  int		climate_month;
  int		nplayers;
#ifdef IO_STATS
  int           bytes_sent;
  int           bytes_read;
  int           unres_hosts;
  int           sock_conns;
  int           cut_conns;
#endif
  QFLAGS        q_done;
} REBOOT_REC;

/* Prototypes */
void	run_reboot (Boolean crash, Boolean will_update);
void	rebootcom (void);
void	updatecom (void);

#endif

Site Stats

Snippets: 1791
Codebases: 571