about summary refs log tree commit diff stats
path: root/tests/test.c
blob: fc55e903d7c55f54d72158e3cac7f475fb8a9018 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <libumumble.h>

int main(int argc, char *argv[])
{
	mumble_ctx_t ctx;
	printf("%d\n", ctx.status);
	mumble_ctx_init(&ctx);
	printf("%d\n", ctx.status);

	mumble_connect(&ctx, "127.0.0.1", 0);

	mumble_ctx_close(&ctx);
	printf("%ld\n", ctx.uv_loop.time);
}