player.h

spider/player.h · 568 B

From the archive spider.tar.gz

Download the archive   « Back to the archive contents

#ifndef PLAYER_H
#define PLAYER_H

typedef struct player
{
	char *name;
	int status, verbose, ignore, command, owner;
	struct player *next;
} player;

typedef struct player_list
{
	player *head, *tail;
	int size;
} player_list;

player_list *player_load (char *);
void player_save (player_list *, char *);
void player_burn (player_list *);
void player_add (player_list *, char *);
void player_delete (player_list *, player *);
player *player_find (player_list *, char *);
player *player_find_num (player_list *, int);
int player_num (player_list *, player *);

#endif

Site Stats

Snippets: 1791
Codebases: 571