diff options
author | Donald Sharp <sharpd@nvidia.com> | 2021-11-11 20:28:54 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2021-11-11 20:41:27 +0100 |
commit | 7cc91e67a3f4dc16bec63fbaac097719d401a578 (patch) | |
tree | 1e003886f820d89f3d37ad9d2de6f33636f5d19f /lib/sigevent.h | |
parent | Merge pull request #10006 from chiragshah6/evpn_dev (diff) | |
download | frr-7cc91e67a3f4dc16bec63fbaac097719d401a578.tar.xz frr-7cc91e67a3f4dc16bec63fbaac097719d401a578.zip |
*: Convert quagga_signal_X to frr_signal_X
Naming functions/data structures more appropriately for
the project we are actually in.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/sigevent.h')
-rw-r--r-- | lib/sigevent.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/sigevent.h b/lib/sigevent.h index 4a39b2288..dd1ee9958 100644 --- a/lib/sigevent.h +++ b/lib/sigevent.h @@ -20,8 +20,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef _QUAGGA_SIGNAL_H -#define _QUAGGA_SIGNAL_H +#ifndef _FRR_SIGNAL_H +#define _FRR_SIGNAL_H #include <thread.h> @@ -29,9 +29,9 @@ extern "C" { #endif -#define QUAGGA_SIGNAL_TIMER_INTERVAL 2L +#define FRR_SIGNAL_TIMER_INTERVAL 2L -struct quagga_signal_t { +struct frr_signal_t { int signal; /* signal number */ void (*handler)(void); /* handler to call */ @@ -42,11 +42,11 @@ struct quagga_signal_t { * takes: * - pointer to valid struct thread_master * - number of elements in passed in signals array - * - array of quagga_signal_t's describing signals to handle + * - array of frr_signal_t's describing signals to handle * and handlers to use for each signal */ extern void signal_init(struct thread_master *m, int sigc, - struct quagga_signal_t *signals); + struct frr_signal_t *signals); /* @@ -58,10 +58,10 @@ extern void signal_init(struct thread_master *m, int sigc, bool frr_sigevent_check(sigset_t *setp); /* check whether there are signals to handle, process any found */ -extern int quagga_sigevent_process(void); +extern int frr_sigevent_process(void); #ifdef __cplusplus } #endif -#endif /* _QUAGGA_SIGNAL_H */ +#endif /* _FRR_SIGNAL_H */ |