diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-05-17 00:03:50 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-05-17 00:03:50 +0000 |
commit | 28d336020ca1f6dbb88d64cac3ffdd1a67ee3de7 (patch) | |
tree | 3562ceea432fa92aed64c3c8b365555165c87318 /avahi-core/query-sched.h | |
parent | 7ef880c32da573ba044cde87ae99a98a6038b7d1 (diff) |
* split packet scheduler into three seperate parts
* test against Aplle test suit, most tests pass now
* suppress auxiliary records by known answers
* handle very large records
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@74 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/query-sched.h')
-rw-r--r-- | avahi-core/query-sched.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/avahi-core/query-sched.h b/avahi-core/query-sched.h new file mode 100644 index 0000000..b77363c --- /dev/null +++ b/avahi-core/query-sched.h @@ -0,0 +1,37 @@ +#ifndef fooqueryschedhfoo +#define fooqueryschedhfoo + +/* $Id$ */ + +/*** + This file is part of avahi. + + avahi is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2.1 of the + License, or (at your option) any later version. + + avahi is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General + Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with avahi; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + USA. +***/ + +typedef struct AvahiQueryScheduler AvahiQueryScheduler; + +#include "iface.h" +#include "address.h" + +AvahiQueryScheduler *avahi_query_scheduler_new(AvahiInterface *i); +void avahi_query_scheduler_free(AvahiQueryScheduler *s); +void avahi_query_scheduler_clear(AvahiQueryScheduler *s); + +gboolean avahi_query_scheduler_post(AvahiQueryScheduler *s, AvahiKey *key, gboolean immediately); +void avahi_query_scheduler_incoming(AvahiQueryScheduler *s, AvahiKey *key); + +#endif |