Files
lcdproc/server/client_data.h
T

36 lines
759 B
C
Raw Normal View History

/*
* client_data.h
* This file is part of LCDd, the lcdproc server.
*
* This file is released under the GNU General Public License. Refer to the
* COPYING file distributed with this package.
*
* Copyright (c) 1999, William Ferrell, Scott Scriven
*
*/
1999-12-09 23:15:14 +00:00
#ifndef CLIENT_DATA_H
#define CLIENT_DATA_H
#include "shared/LL.h"
1999-12-09 23:15:14 +00:00
#define CLIENT_NAME_SIZE 256
typedef struct client_data {
2000-04-03 22:13:57 +00:00
int ack;
char *name;
2001-12-30 00:15:25 +00:00
/* and other stuff... doesn't matter yet*/
LinkedList *screenlist;
2001-12-30 00:15:25 +00:00
/* list of requested keys...*/
char *client_keys ;
LinkedList *menulist;
1999-12-09 23:15:14 +00:00
} client_data;
2001-12-30 00:15:25 +00:00
/* sets up an existing (empty) client_data struct*/
int client_data_init (client_data * d);
2001-12-30 00:15:25 +00:00
/* destroys members of a client's data*/
int client_data_destroy (client_data * d);
1999-12-09 23:15:14 +00:00
#endif