blob: 0e1cff6ba906760dbd556b18e1f10d7b2f8b5e04 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#include <locale.h>
#include "runes.h"
#include "socket.h"
int main (int argc, char *argv[])
{
RunesLoop loop;
RunesSocket socket;
UNUSED(argv);
if (argc > 1) {
runes_die("runesd takes no arguments; pass them to runesc instead.");
}
setlocale(LC_ALL, "");
runes_loop_init(&loop);
runes_socket_init(&socket, &loop);
runes_loop_run(&loop);
runes_socket_cleanup(&socket);
runes_loop_cleanup(&loop);
return 0;
}
|