25 lines
530 B
C
25 lines
530 B
C
|
/* Copyright (C) 2010 Tony Garnock-Jones. All rights reserved. */
|
||
|
|
||
|
#include <stdlib.h>
|
||
|
#include <string.h>
|
||
|
#include <stdio.h>
|
||
|
|
||
|
#include <netinet/in.h>
|
||
|
#include <ucontext.h>
|
||
|
|
||
|
typedef unsigned char u_char;
|
||
|
#include <event.h>
|
||
|
|
||
|
#include "cmsg_private.h"
|
||
|
#include "harness.h"
|
||
|
#include "net.h"
|
||
|
|
||
|
int main(int argc, char *argv[]) {
|
||
|
info("cmsg, Copyright (C) 2010 Tony Garnock-Jones. All rights reserved.\n");
|
||
|
event_init();
|
||
|
info("Using libevent version %s\n", event_get_version());
|
||
|
start_net(5671);
|
||
|
boot_harness();
|
||
|
return 0;
|
||
|
}
|