NetworkInador/lib/netlink-events.h

36 lines
1.2 KiB
C
Raw Normal View History

2018-08-07 15:28:22 -05:00
/*
2018-08-23 13:31:27 -05:00
* netlink-events.h
2018-08-07 15:28:22 -05:00
* This file is part of Network-inador
*
2019-12-31 11:05:50 -06:00
* Copyright (C) 2019, 2020 - Félix Arreola Rodríguez
2018-08-07 15:28:22 -05:00
*
* Network-inador is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Network-inador 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Network-inador; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301 USA
*/
2018-08-23 13:31:27 -05:00
#ifndef __NETLINK_EVENTS_H__
#define __NETLINK_EVENTS_H__
2018-08-07 15:28:22 -05:00
#include <netlink/socket.h>
#include <netlink/msg.h>
2018-08-07 15:28:22 -05:00
#include "network-inador-private.h"
int netlink_events_route_dispatcher (struct nl_msg *msg, void *arg);
void netlink_events_route_events_handle_read (void *data, int fd, int condition);
void netlink_events_pipe_route_handle_read (void *data, int fd, int condition);
2018-08-07 15:28:22 -05:00
#endif