/* * Soft: Keepalived is a failover program for the LVS project * . It monitor & manipulate * a loadbalanced server pool using multi-layer checks. * * Part: bfd_event.c include file. * * Author: Ilya Voronin, * * This program 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. * * This program 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. * * Copyright (C) 2015-2017 Alexandre Cassen, */ #ifndef _BFD_EVENT_H_ #define _BFD_EVENT_H_ #include "bfd.h" typedef struct _bfd_event { char iname[BFD_INAME_MAX]; uint8_t state; timeval_t sent_time; } bfd_event_t; extern void bfd_event_send(bfd_t *); #endif /* _BFD_EVENT_H_ */