/webdis.c
http://github.com/nicolasff/webdis · C · 20 lines · 13 code · 7 blank · 0 comment · 2 complexity · 3993885e6628a2d3fccf996af9243fb0 MD5 · raw file
- #include "server.h"
- #include <stdlib.h>
- int
- main(int argc, char *argv[]) {
- struct server *s;
- if(argc > 1) {
- s = server_new(argv[1]);
- } else {
- s = server_new("webdis.json");
- }
- server_start(s);
- return EXIT_SUCCESS;
- }