X-Git-Url: https://jfr.im/git/irc/thales.git/blobdiff_plain/355265fcda89bf58003341edbb5a9671c6dc1859..236a80d6d18eff403082167ddec3734ca8d1a131:/src/worker.h?ds=inline
diff --git a/src/worker.h b/src/worker.h
index c6c3550..6f16388 100644
--- a/src/worker.h
+++ b/src/worker.h
@@ -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 . */
#include
#include
#include
-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