/*******************************************\ | * Ce programme est sous licence GNU GPL * | | * This software is under GNU/GPL licence * | | * * * * * * * * * * * * * * * * * * * * * * | | * http://www.gnu.org/copyleft/gpl.html * | \*******************************************/ /* Créé par Laurent Coustet <ed@zehome.com> * http://ed.zehome.com/ * Made by Laurent Coustet <ed@zehome.com> */ #define connect(mysql) _mysql_connect(mysql,"ed","127.0.0.1","********","ed") #define query(mysql,query,...) _mysql_query(mysql,query,__VA_ARGS__) #define disconnect(mysql) _mysql_disconnect(mysql) typedef struct st_gb { char *texte; /* Text of the comment */ char *auteur; /* Author of the comment */ char *date; /* MYSQL DATE */ char *ip; /* IP of the poster */ char *browser; /* Browser of the poster */ unsigned int id; /* id of the news */ } ST_GB; void GetGB(); void print_gb_head(); int AddGB(char *texte, char *auteur, char *ip, char *browser);