diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-10-11 19:52:38 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-10-11 19:52:38 +0000 |
commit | a3f8ceb929420a0be2b2c8341382fdfe0a50b859 (patch) | |
tree | 525f8ab22785f9f9d63d4ca3b3109a0a38d4c577 /avahi-core/iface-linux.h | |
parent | bea0b5e859395d0f0eeffec2bdd0361740bdb863 (diff) |
Split off linux specific parts of iface.[ch] into iface-linux.[ch]. This should
ease porting to other platforms. Sebest, Lathiat this is for you! It Should
simplify your porting work to *BSD/MacOSX/Solaris.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@726 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/iface-linux.h')
-rw-r--r-- | avahi-core/iface-linux.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/avahi-core/iface-linux.h b/avahi-core/iface-linux.h new file mode 100644 index 0000000..eed648c --- /dev/null +++ b/avahi-core/iface-linux.h @@ -0,0 +1,42 @@ +#ifndef fooifacelinuxhfoo +#define fooifacelinuxhfoo + +/* $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 AvahiInterfaceMonitorOSDep AvahiInterfaceMonitorOSDep; + +#include "netlink.h" + +struct AvahiInterfaceMonitorOSDep { + AvahiNetlink *netlink; + + unsigned query_addr_seq, query_link_seq; + + enum { + LIST_IFACE, + LIST_ADDR, + LIST_DONE + } list; +}; + + +#endif |