Comment servir des pintes de Guinness "over Internet" ;) Reprise/Fork d'un très ancien code d'un pilier de f.m.b.l : http://tnemeth.free.fr/projets/guinness-server.html
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

25 lines
490 B

/*
* guinnessd
* architecture clients/serveur guinness : broadcast messages
* Thomas Nemeth -- le 15 juin 2001
*
*/
#ifndef GUINNNESS_BROADCAST
#define GUINNNESS_BROADCAST
#include "guinnessd.h"
#define QUITTER 1
#define TOURNEE 2
#define MESSAGE 3
int broadcast (int t, const char *f, const char *m);
int new_message (long cid);
int get_broadcastid ();
void get_broadcastmsg (int *t, char **f, char **m);
int send_broadcast (int socket_service, userinfos *infos);
#endif