* coding style harmonization in servers/

- explicitely declare void arguments
  - make a few string args const
* better support for shorter displays in server screen
* make target to create top level tag file
This commit is contained in:
marschap
2007-04-02 21:29:53 +00:00
parent a63ae89eb7
commit 6a1511bb72
100 changed files with 2180 additions and 2170 deletions
+10 -10
View File
@@ -37,35 +37,35 @@ typedef struct Client {
LinkedList *screenlist;
/* Maybe it has created a menu */
Menu * menu;
Menu *menu;
} Client;
#include "screen.h"
/* When a new client connects, set up a new client data struct */
Client * client_create (int sock);
Client *client_create(int sock);
/* Destroys the client data */
int client_destroy (Client * c);
int client_destroy(Client *c);
/* Close the socket */
void client_close_sock (Client * c);
void client_close_sock(Client *c);
/* Add message to the client's queue...*/
int client_add_message (Client * c, char *message);
int client_add_message(Client *c, char *message);
/* Get message from queue */
char * client_get_message (Client * c);
char *client_get_message(Client *c);
/* Find a named screen for the client */
Screen * client_find_screen (Client * c, char *id);
Screen *client_find_screen(Client *c, char *id);
int client_add_screen (Client * c, Screen * s);
int client_add_screen(Client *c, Screen *s);
int client_remove_screen (Client * c, Screen * s);
int client_remove_screen(Client *c, Screen *s);
int client_screen_count (Client * c);
int client_screen_count(Client *c);
#endif