]> jfr.im git - irc/thales.git/blobdiff - src/worker.h
Some research about mysql. More tables planning required
[irc/thales.git] / src / worker.h
index c6c3550751a93f41919e7992026d92f56625055f..6f16388b794ef0283c6174776c65cf03201feb95 100644 (file)
@@ -6,7 +6,7 @@ terms of the GNU General Public License as published by the Free Software
 Foundation; either version 3 of the License, or (at your option) any later
 version.
 
-GNU Make is distributed in the hope that it will be useful, but
+GNU Thales is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 General Public License for more details.
@@ -19,15 +19,19 @@ this program.  If not, see <http://www.gnu.org/licenses/>.  */
 #include <stddef.h>
 #include <envz.h>
 #include <argz.h>
-struct irc_meta {
 
+#include "list.h"
+struct irc_meta {
+  int silent_compiler;
 };
 
 #define worker_entry(ptr,type,name) (type*)((char *)ptr - offsetof(type,name))
 struct worker {
+  char *name;
   char *(*process_command)(const char *msg, struct irc_meta *meta,
                            struct worker *self, char *name);
   void (*free_worker)(struct worker *self);
+  struct list_head list;
 };
 
 #endif