A clone of btpd with my configuration changes.

28 Zeilen
432 B

  1. /*
  2. * Compile with:
  3. * cc -I/usr/local/include -o time-test time-test.c -L/usr/local/lib -levent
  4. */
  5. #include <sys/types.h>
  6. #include <sys/stat.h>
  7. #include <sys/time.h>
  8. #include <sys/socket.h>
  9. #include <fcntl.h>
  10. #include <stdlib.h>
  11. #include <stdio.h>
  12. #include <string.h>
  13. #include <unistd.h>
  14. #include <errno.h>
  15. #include <event.h>
  16. int
  17. main(int argc, char **argv)
  18. {
  19. /* Initalize the event library */
  20. event_init();
  21. return (0);
  22. }