summaryrefslogtreecommitdiff
path: root/broccoli/broevent.c
diff options
context:
space:
mode:
authorRobert Gustafsson <robg@student.chalmers.se>2017-09-28 15:09:48 +0200
committerRobert Gustafsson <robg@student.chalmers.se>2017-09-28 15:09:48 +0200
commit7bd84e78376e5f5b87349d00766b024964bb84b3 (patch)
treee33b8217efc27ceaac23e64159d96b2d919cb5b3 /broccoli/broevent.c
parenta333c2c239a964ba2f898d23528186af1c5a1608 (diff)
downloadmidbro-7bd84e78376e5f5b87349d00766b024964bb84b3.tar.gz
midbro-7bd84e78376e5f5b87349d00766b024964bb84b3.tar.bz2
Add new main file
Diffstat (limited to 'broccoli/broevent.c')
-rw-r--r--broccoli/broevent.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/broccoli/broevent.c b/broccoli/broevent.c
index a2b7a28..94d06b8 100644
--- a/broccoli/broevent.c
+++ b/broccoli/broevent.c
@@ -1,7 +1,5 @@
-#ifdef BROCCOLI
-#include <broccoli.h>
-#endif
#include "includes/fifoqueue.h"
+#include "includes/broevent.h"
char *host_default = "127.0.0.1";
char *port_default = "47760";
@@ -60,12 +58,3 @@ bro_event_listener()
bro_conn_delete(bc);
}
-
- int
-main(int argc, char **argv)
-{
- Fifo_q * q = init_queue(5);
-
- free(q);
- return 0;
-}