diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-03-26 18:37:06 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-03-26 18:37:06 +0000 |
commit | 4aa744ffac20c7b5e18cb3b23e5dbac8221c0043 (patch) | |
tree | e6397080bcf8c2a0b69aeff02d59b82a6513de8a /main.c | |
parent | 8e7f83aa5b6d910e80c56b31f4eb79b02e7ca67b (diff) |
* add todo list
* beef up packet scheduler
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@18 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -58,21 +58,21 @@ int main(int argc, char *argv[]) { flx_server_add_text(flx, 0, 0, AF_UNSPEC, FALSE, NULL, "hallo"); - k = flx_key_new("_http._tcp.local.", FLX_DNS_CLASS_IN, FLX_DNS_TYPE_PTR); - s = flx_subscription_new(flx, k, 0, AF_UNSPEC, subscription, NULL); - flx_key_unref(k); +/* k = flx_key_new("_http._tcp.local.", FLX_DNS_CLASS_IN, FLX_DNS_TYPE_PTR); */ +/* s = flx_subscription_new(flx, k, 0, AF_UNSPEC, subscription, NULL); */ +/* flx_key_unref(k); */ loop = g_main_loop_new(NULL, FALSE); - g_timeout_add(1000*60, quit_timeout, loop); + g_timeout_add(1000*30, quit_timeout, loop); g_timeout_add(1000, send_timeout, flx); - g_timeout_add(1000*10, dump_timeout, flx); + g_timeout_add(1000*20, dump_timeout, flx); g_main_loop_run(loop); g_main_loop_unref(loop); - flx_subscription_free(s); +/* flx_subscription_free(s); */ flx_server_free(flx); return 0; |