first flow of .h, one main() compilng

This commit is contained in:
tonton Th
2020-03-28 09:57:02 +01:00
parent 33f0954c7b
commit 850cf9d8bd
14 changed files with 873 additions and 5 deletions
+25
View File
@@ -0,0 +1,25 @@
/*
* 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