diff options
author | Sebastien Estienne <sebastien.estienne@gmail.com> | 2005-10-18 00:39:13 +0000 |
---|---|---|
committer | Sebastien Estienne <sebastien.estienne@gmail.com> | 2005-10-18 00:39:13 +0000 |
commit | b9a6f0906bd188d5bb6ff55ae1457b987a6cf275 (patch) | |
tree | b3313b1594a2b8b9ed0852afb705275250e93dde /avahi-core/iface-pfroute.h | |
parent | 730f9eb9d43de11bbb7b74280ac2ed3d92bab645 (diff) |
* more portability work
* support for PF_ROUTE
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@805 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/iface-pfroute.h')
-rw-r--r-- | avahi-core/iface-pfroute.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/avahi-core/iface-pfroute.h b/avahi-core/iface-pfroute.h new file mode 100644 index 0000000..e46df5f --- /dev/null +++ b/avahi-core/iface-pfroute.h @@ -0,0 +1,40 @@ +#ifndef fooifacepfroutehfoo +#define fooifacepfroutehfoo + +/* $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. +***/ +#include <avahi-common/watch.h> + +typedef struct AvahiPfRoute AvahiPfRoute; +struct AvahiPfRoute { + int fd; + const AvahiPoll *poll_api; + AvahiWatch *watch; + AvahiInterfaceMonitor *m; +}; + +typedef struct AvahiInterfaceMonitorOSDep AvahiInterfaceMonitorOSDep; + +struct AvahiInterfaceMonitorOSDep { + AvahiPfRoute *pfroute; +}; + +#endif |