*: Convert event.h to frrevent.h

We should probably prevent any type of namespace collision
with something else.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2023-03-07 14:22:48 -05:00
parent cd9d053741
commit 24a58196dd
229 changed files with 232 additions and 232 deletions

View File

@ -8,7 +8,7 @@ Copyright 2011 by Matthieu Boutier and Juliusz Chroboczek
#include "getopt.h"
#include "if.h"
#include "log.h"
#include "event.h"
#include "frrevent.h"
#include "privs.h"
#include "sigevent.h"
#include "lib/version.h"

View File

@ -29,7 +29,7 @@ Copyright 2011, 2012 by Matthieu Boutier and Juliusz Chroboczek
#include "command.h"
#include "vty.h"
#include "memory.h"
#include "event.h"
#include "frrevent.h"
#include "nexthop.h"
#include "util.h"

View File

@ -26,7 +26,7 @@
#include "lib/network.h"
#include "lib/printfrr.h"
#include "lib/stream.h"
#include "lib/event.h"
#include "lib/frrevent.h"
#include "bfd.h"
#include "bfddp_packet.h"

View File

@ -9,7 +9,7 @@
#include "memory.h"
#include "prefix.h"
#include "hash.h"
#include "event.h"
#include "frrevent.h"
#include "queue.h"
#include "filter.h"

View File

@ -11,7 +11,7 @@
#include "linklist.h"
#include "memory.h"
#include "prefix.h"
#include "event.h"
#include "frrevent.h"
#include "buffer.h"
#include "stream.h"
#include "vrf.h"

View File

@ -11,7 +11,7 @@
#include "sockunion.h"
#include "command.h"
#include "prefix.h"
#include "event.h"
#include "frrevent.h"
#include "linklist.h"
#include "queue.h"
#include "pullwr.h"

View File

@ -10,7 +10,7 @@
#include "memory.h"
#include "command.h"
#include "log.h"
#include "event.h"
#include "frrevent.h"
#include "queue.h"
#include "filter.h"

View File

@ -10,7 +10,7 @@
#include "sockunion.h"
#include "command.h"
#include "prefix.h"
#include "event.h"
#include "frrevent.h"
#include "linklist.h"
#include "queue.h"
#include "memory.h"

View File

@ -9,7 +9,7 @@
#include "linklist.h"
#include "prefix.h"
#include "sockunion.h"
#include "event.h"
#include "frrevent.h"
#include "log.h"
#include "stream.h"
#include "ringbuf.h"

View File

@ -17,7 +17,7 @@
#include "network.h" // for ERRNO_IO_RETRY
#include "stream.h" // for stream_get_endp, stream_getw_from, str...
#include "ringbuf.h" // for ringbuf_remain, ringbuf_peek, ringbuf_...
#include "event.h" // for EVENT_OFF, EVENT_ARG, thread...
#include "frrevent.h" // for EVENT_OFF, EVENT_ARG, thread...
#include "bgpd/bgp_io.h"
#include "bgpd/bgp_debug.h" // for bgp_debug_neighbor_events, bgp_type_str

View File

@ -6,7 +6,7 @@
#include <zebra.h>
#include "command.h"
#include "event.h"
#include "frrevent.h"
#include "prefix.h"
#include "zclient.h"
#include "stream.h"

View File

@ -9,7 +9,7 @@
#include "vector.h"
#include "command.h"
#include "getopt.h"
#include "event.h"
#include "frrevent.h"
#include <lib/version.h>
#include "memory.h"
#include "prefix.h"

View File

@ -12,7 +12,7 @@
#include "log.h"
#include "prefix.h"
#include "command.h"
#include "event.h"
#include "frrevent.h"
#include "smux.h"
#include "filter.h"
#include "hook.h"

View File

@ -5,7 +5,7 @@
#include <zebra.h>
#include "event.h"
#include "frrevent.h"
#include "sockunion.h"
#include "sockopt.h"
#include "memory.h"

View File

@ -6,7 +6,7 @@
#include <zebra.h>
#include "command.h"
#include "event.h"
#include "frrevent.h"
#include "prefix.h"
#include "lib/json.h"
#include "zclient.h"

View File

@ -6,7 +6,7 @@
#include <zebra.h>
#include "command.h"
#include "event.h"
#include "frrevent.h"
#include "prefix.h"
#include "zclient.h"
#include "stream.h"

View File

@ -8,7 +8,7 @@
#include "linklist.h"
#include "prefix.h"
#include "stream.h"
#include "event.h"
#include "frrevent.h"
#include "log.h"
#include "command.h"
#include "memory.h"

View File

@ -8,7 +8,7 @@
#include <zebra.h>
#include <sys/time.h>
#include "event.h"
#include "frrevent.h"
#include "stream.h"
#include "network.h"
#include "prefix.h"

View File

@ -20,7 +20,7 @@
#include "buffer.h"
#include "sockunion.h"
#include "plist.h"
#include "event.h"
#include "frrevent.h"
#include "workqueue.h"
#include "queue.h"
#include "memory.h"

View File

@ -23,7 +23,7 @@
#include "command.h"
#include "linklist.h"
#include "memory.h"
#include "event.h"
#include "frrevent.h"
#include "filter.h"
#include "bgpd/bgpd.h"
#include "bgpd/bgp_table.h"

View File

@ -12,7 +12,7 @@
#include "log.h"
#include "prefix.h"
#include "command.h"
#include "event.h"
#include "frrevent.h"
#include "smux.h"
#include "filter.h"
#include "hook.h"

View File

@ -12,7 +12,7 @@
#include "log.h"
#include "prefix.h"
#include "command.h"
#include "event.h"
#include "frrevent.h"
#include "smux.h"
#include "filter.h"
#include "hook.h"

View File

@ -13,7 +13,7 @@
#include "log.h"
#include "prefix.h"
#include "command.h"
#include "event.h"
#include "frrevent.h"
#include "smux.h"
#include "filter.h"
#include "hook.h"

View File

@ -12,7 +12,7 @@
#include <zebra.h>
#include "prefix.h"
#include "event.h"
#include "frrevent.h"
#include "buffer.h"
#include "stream.h"
#include "command.h"

View File

@ -17,7 +17,7 @@
#include "memory.h"
#include "prefix.h"
#include "hash.h"
#include "event.h"
#include "frrevent.h"
#include "queue.h"
#include "routemap.h"
#include "filter.h"

View File

@ -12,7 +12,7 @@
#include <zebra.h>
#include "prefix.h"
#include "event.h"
#include "frrevent.h"
#include "buffer.h"
#include "stream.h"
#include "command.h"

View File

@ -16,7 +16,7 @@
#include "buffer.h"
#include "linklist.h"
#include "stream.h"
#include "event.h"
#include "frrevent.h"
#include "log.h"
#include "memory.h"
#include "lib_vty.h"

View File

@ -13,7 +13,7 @@
#include "sockunion.h"
#include "zclient.h"
#include "routemap.h"
#include "event.h"
#include "frrevent.h"
#include "queue.h"
#include "memory.h"
#include "lib/json.h"

View File

@ -6,7 +6,7 @@
#include <zebra.h>
#include "prefix.h"
#include "event.h"
#include "frrevent.h"
#include "buffer.h"
#include "stream.h"
#include "ringbuf.h"

View File

@ -15,7 +15,7 @@
#include "lib/memory.h"
#include "lib/log.h"
#include "lib/skiplist.h"
#include "event.h"
#include "frrevent.h"
#include "lib/stream.h"
#include "lib/lib_errors.h"

View File

@ -13,7 +13,7 @@
#ifndef QUAGGA_HGP_RFAPI_IMPORT_H
#define QUAGGA_HGP_RFAPI_IMPORT_H
#include "event.h"
#include "frrevent.h"
/*
* These are per-rt-import-list

View File

@ -9,7 +9,7 @@
#define _QUAGGA_VNC_VNC_EXPORT_TABLE_H_
#include "lib/table.h"
#include "event.h"
#include "frrevent.h"
#include "lib/vty.h"
#include "bgpd/bgpd.h"

View File

@ -56,7 +56,7 @@ Basic boilerplate:
#include "hook.h"
#include "module.h"
#include "libfrr.h"
#include "event.h"
#include "frrevent.h"
static int module_late_init(struct event_loop *master)
{

View File

@ -13,7 +13,7 @@
#include <zebra.h>
#include "linklist.h"
#include "event.h"
#include "frrevent.h"
#include "prefix.h"
#include "command.h"
#include "stream.h"

View File

@ -21,7 +21,7 @@
#include "command.h"
#include "prefix.h"
#include "table.h"
#include "event.h"
#include "frrevent.h"
#include "memory.h"
#include "log.h"
#include "stream.h"

View File

@ -54,7 +54,7 @@
#include <zebra.h>
#include "event.h"
#include "frrevent.h"
#include "prefix.h"
#include "table.h"
#include "memory.h"

View File

@ -16,7 +16,7 @@
#include <zebra.h>
#include "event.h"
#include "frrevent.h"
#include "memory.h"
#include "linklist.h"
#include "prefix.h"

View File

@ -16,7 +16,7 @@
#include <zebra.h>
#include "event.h"
#include "frrevent.h"
#include "linklist.h"
#include "prefix.h"
#include "if.h"

View File

@ -17,7 +17,7 @@
#include <lib/version.h>
#include "getopt.h"
#include "event.h"
#include "frrevent.h"
#include "prefix.h"
#include "linklist.h"
#include "if.h"

View File

@ -20,7 +20,7 @@
#include "prefix.h"
#include "memory.h"
#include "command.h"
#include "event.h"
#include "frrevent.h"
#include "stream.h"
#include "table.h"
#include "log.h"

View File

@ -12,7 +12,7 @@
#include <zebra.h>
#include "event.h"
#include "frrevent.h"
#include "linklist.h"
#include "prefix.h"
#include "if.h"

View File

@ -12,7 +12,7 @@
#include <zebra.h>
#include "event.h"
#include "frrevent.h"
#include "memory.h"
#include "linklist.h"
#include "vty.h"

View File

@ -12,7 +12,7 @@
#include <zebra.h>
#include "event.h"
#include "frrevent.h"
#include "memory.h"
#include "linklist.h"
#include "prefix.h"

View File

@ -16,7 +16,7 @@
#include <zebra.h>
#include "event.h"
#include "frrevent.h"
#include "memory.h"
#include "linklist.h"
#include "prefix.h"

View File

@ -12,7 +12,7 @@
#include <zebra.h>
#include "event.h"
#include "frrevent.h"
#include "memory.h"
#include "linklist.h"
#include "prefix.h"

View File

@ -11,7 +11,7 @@
*/
#include <zebra.h>
#include "event.h"
#include "frrevent.h"
#include "memory.h"
#include "linklist.h"
#include "prefix.h"

View File

@ -16,7 +16,7 @@
#include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-includes.h>
#include "event.h"
#include "frrevent.h"
#include "memory.h"
#include "linklist.h"
#include "prefix.h"

View File

@ -16,7 +16,7 @@
#include <zebra.h>
#include "event.h"
#include "frrevent.h"
#include "memory.h"
#include "linklist.h"
#include "prefix.h"

View File

@ -17,7 +17,7 @@
#include <zebra.h>
#include "memory.h"
#include "event.h"
#include "frrevent.h"
#include "prefix.h"
#include "table.h"
#include "vty.h"

View File

@ -12,7 +12,7 @@
#include <zebra.h>
#include "event.h"
#include "frrevent.h"
#include "command.h"
#include "network.h"
#include "prefix.h"

View File

@ -12,7 +12,7 @@
#include <zebra.h>
#include "event.h"
#include "frrevent.h"
#include "vty.h"
#include "command.h"
#include "linklist.h"

View File

@ -15,7 +15,7 @@
#include "hash.h"
#include "vty.h"
#include "linklist.h"
#include "event.h"
#include "frrevent.h"
#include "if.h"
#include "stream.h"
#include "bfd.h"

View File

@ -19,7 +19,7 @@
#include "if.h"
#include "linklist.h"
#include "command.h"
#include "event.h"
#include "frrevent.h"
#include "vty.h"
#include "hash.h"
#include "prefix.h"

View File

@ -14,7 +14,7 @@
#include "if.h"
#include "linklist.h"
#include "command.h"
#include "event.h"
#include "frrevent.h"
#include "hash.h"
#include "prefix.h"
#include "stream.h"

View File

@ -13,7 +13,7 @@
#include "log.h"
#include "hash.h"
#include "event.h"
#include "frrevent.h"
#include "linklist.h"
#include "vty.h"
#include "stream.h"

View File

@ -16,7 +16,7 @@
#include "stream.h"
#include "command.h"
#include "if.h"
#include "event.h"
#include "frrevent.h"
#include "isisd/isis_constants.h"
#include "isisd/isis_common.h"

View File

@ -13,7 +13,7 @@
#include "if.h"
#include "linklist.h"
#include "command.h"
#include "event.h"
#include "frrevent.h"
#include "hash.h"
#include "prefix.h"
#include "stream.h"

View File

@ -9,7 +9,7 @@
#include "monotime.h"
#include "memory.h"
#include "event.h"
#include "frrevent.h"
#include "prefix.h"
#include "table.h"
#include "vty.h"

View File

@ -12,7 +12,7 @@
#include <zebra.h>
#include "linklist.h"
#include "event.h"
#include "frrevent.h"
#include "vty.h"
#include "stream.h"
#include "memory.h"

View File

@ -10,7 +10,7 @@
#include <zebra.h>
#include "getopt.h"
#include "event.h"
#include "frrevent.h"
#include "log.h"
#include <lib/version.h>
#include "command.h"

View File

@ -11,7 +11,7 @@
#include <zebra.h>
#include "memory.h"
#include "event.h"
#include "frrevent.h"
#include "linklist.h"
#include "log.h"
#include "stream.h"

View File

@ -11,7 +11,7 @@
#include <zebra.h>
#include "event.h"
#include "frrevent.h"
#include "linklist.h"
#include "vty.h"
#include "log.h"

View File

@ -18,7 +18,7 @@
#include "plist.h"
#include "routemap.h"
#include "table.h"
#include "event.h"
#include "frrevent.h"
#include "vty.h"
#include "isis_constants.h"

View File

@ -11,7 +11,7 @@
#include <zebra.h>
#include "event.h"
#include "frrevent.h"
#include "linklist.h"
#include "vty.h"
#include "log.h"

View File

@ -13,7 +13,7 @@
#include <math.h>
#include "linklist.h"
#include "event.h"
#include "frrevent.h"
#include "vty.h"
#include "stream.h"
#include "memory.h"

View File

@ -10,7 +10,7 @@
#include <zebra.h>
#include "event.h"
#include "frrevent.h"
#include "command.h"
#include "memory.h"
#include "log.h"

View File

@ -9,7 +9,7 @@
#include <zebra.h>
#include "event.h"
#include "frrevent.h"
#include "vty.h"
#include "command.h"
#include "log.h"

View File

@ -14,7 +14,7 @@
#include "queue.h"
#include "openbsd-tree.h"
#include "imsg.h"
#include "event.h"
#include "frrevent.h"
#include "qobj.h"
#include "prefix.h"
#include "filter.h"

View File

@ -10,7 +10,7 @@
#include "command.h"
#include "memory.h"
#include "prefix.h"
#include "event.h"
#include "frrevent.h"
#include "stream.h"
#include "vrf.h"
#include "zclient.h"

View File

@ -17,7 +17,7 @@
#include "memory.h"
#include "log.h"
#include "log_vty.h"
#include "event.h"
#include "frrevent.h"
#include "vector.h"
#include "linklist.h"
#include "vty.h"

View File

@ -8,7 +8,7 @@
#include <zebra.h>
#include <sys/resource.h>
#include "event.h"
#include "frrevent.h"
#include "memory.h"
#include "frrcu.h"
#include "log.h"

View File

@ -11,7 +11,7 @@
#include "frratomic.h"
#include "memory.h"
#include "frrcu.h"
#include "event.h"
#include "frrevent.h"
#ifdef __cplusplus
extern "C" {

View File

@ -15,7 +15,7 @@
#include <zebra.h>
#include <zmq.h>
#include "event.h"
#include "frrevent.h"
#include "memory.h"
#include "frr_zmq.h"
#include "log.h"

View File

@ -7,7 +7,7 @@
#ifndef _FRRZMQ_H
#define _FRRZMQ_H
#include "event.h"
#include "frrevent.h"
#include <zmq.h>
#ifdef __cplusplus

View File

@ -33,7 +33,7 @@ struct rusage_t {
#endif
struct timeval real;
};
#define RUSAGE_T struct rusage_t
#define RUSAGE_T struct rusage_t
#define GETRUSAGE(X) event_getrusage(X)
@ -118,10 +118,10 @@ struct event {
struct timeval sands; /* rest of time sands value. */
} u;
struct timeval real;
struct cpu_event_history *hist; /* cache pointer to cpu_history */
unsigned long yield; /* yield time in microseconds */
struct cpu_event_history *hist; /* cache pointer to cpu_history */
unsigned long yield; /* yield time in microseconds */
const struct xref_eventsched *xref; /* origin location */
pthread_mutex_t mtx; /* mutex for thread.c functions */
pthread_mutex_t mtx; /* mutex for thread.c functions */
bool ignore_timer_late;
};

View File

@ -10,7 +10,7 @@
#include "memory.h"
#include "prefix.h"
#include "log.h"
#include "event.h"
#include "frrevent.h"
#include "stream.h"
#include "zclient.h"
#include "table.h"

View File

@ -11,7 +11,7 @@
#include "typesafe.h"
#include "sigevent.h"
#include "privs.h"
#include "event.h"
#include "frrevent.h"
#include "log.h"
#include "getopt.h"
#include "module.h"

View File

@ -21,7 +21,7 @@
#include <lttng/tracepoint.h>
#include "hash.h"
#include "event.h"
#include "frrevent.h"
#include "memory.h"
#include "linklist.h"
#include "table.h"

View File

@ -13,7 +13,7 @@ extern "C" {
#endif
#include "mgmt_pb.h"
#include "event.h"
#include "frrevent.h"
#include "mgmtd/mgmt_defines.h"
/***************************************************************

View File

@ -10,7 +10,7 @@
#include "network.h"
#include "sockopt.h"
#include "stream.h"
#include "event.h"
#include "frrevent.h"
#include "mgmt_msg.h"

View File

@ -8,7 +8,7 @@
#define _MGMT_MSG_H
#include "stream.h"
#include "event.h"
#include "frrevent.h"
#define MGMT_MSG_MARKER (0x4D724B21u) /* ASCII - "MrK!"*/

View File

@ -7,7 +7,7 @@
#ifndef _FRR_NORTHBOUND_H_
#define _FRR_NORTHBOUND_H_
#include "event.h"
#include "frrevent.h"
#include "hook.h"
#include "linklist.h"
#include "openbsd-tree.h"

View File

@ -12,7 +12,7 @@
#include "log.h"
#include "libfrr.h"
#include "lib/version.h"
#include "event.h"
#include "frrevent.h"
#include "command.h"
#include "lib_errors.h"
#include "northbound.h"

View File

@ -10,7 +10,7 @@
#include <stdbool.h>
#include <stdint.h>
#include "event.h"
#include "frrevent.h"
#include "stream.h"
#ifdef __cplusplus

View File

@ -7,7 +7,7 @@
#include <zebra.h>
#include "event.h"
#include "frrevent.h"
#include "memory.h"
#include "hash.h"
#include "log.h"

View File

@ -12,7 +12,7 @@
#include "typesafe.h"
#include "jhash.h"
#include "event.h"
#include "frrevent.h"
#include "lib_errors.h"
#include "resolver.h"
#include "command.h"

View File

@ -6,7 +6,7 @@
#ifndef _FRR_RESOLVER_H
#define _FRR_RESOLVER_H
#include "event.h"
#include "frrevent.h"
#include "sockunion.h"
#ifdef __cplusplus

View File

@ -8,7 +8,7 @@
#ifndef _FRR_SIGNAL_H
#define _FRR_SIGNAL_H
#include <event.h>
#include <frrevent.h>
#ifdef __cplusplus
extern "C" {

View File

@ -9,7 +9,7 @@
#include <net-snmp/agent/net-snmp-agent-includes.h>
#include <net-snmp/agent/snmp_vars.h>
#include "event.h"
#include "frrevent.h"
#include "hook.h"
#ifdef __cplusplus

View File

@ -17,7 +17,7 @@
#include "command.h"
#include "memory.h"
#include "event.h"
#include "frrevent.h"
#include "vty.h"
DEFINE_MTYPE_STATIC(LIB, SPF_BACKOFF, "SPF backoff");

View File

@ -288,7 +288,7 @@ pkginclude_HEADERS += \
lib/systemd.h \
lib/table.h \
lib/termtable.h \
lib/event.h \
lib/frrevent.h \
lib/trace.h \
lib/typerb.h \
lib/typesafe.h \

View File

@ -7,7 +7,7 @@
#include <zebra.h>
#include <sys/un.h>
#include "event.h"
#include "frrevent.h"
#include "systemd.h"
#include "lib_errors.h"

View File

@ -22,7 +22,7 @@
#include <stdio.h>
#include "linklist.h"
#include "event.h"
#include "frrevent.h"
#include "buffer.h"
#include "command.h"
#include "sockunion.h"

View File

@ -18,7 +18,7 @@
#include <regex.h>
#endif /* HAVE_LIBPCRE2_POSIX */
#include "event.h"
#include "frrevent.h"
#include "log.h"
#include "sockunion.h"
#include "qobj.h"

View File

@ -6,7 +6,7 @@
*/
#include "zebra.h"
#include "linklist.h"
#include "event.h"
#include "frrevent.h"
#include "memory.h"
#include "wheel.h"
#include "log.h"

View File

@ -6,7 +6,7 @@
*/
#include <zebra.h>
#include "event.h"
#include "frrevent.h"
#include "memory.h"
#include "workqueue.h"
#include "linklist.h"

View File

@ -14,7 +14,7 @@
#include "vrf_int.h"
#include "if.h"
#include "log.h"
#include "event.h"
#include "frrevent.h"
#include "zclient.h"
#include "memory.h"
#include "table.h"

View File

@ -48,7 +48,7 @@
#include "frrcu.h"
#include "zlog.h"
#include "libfrr_trace.h"
#include "event.h"
#include "frrevent.h"
DEFINE_MTYPE_STATIC(LIB, LOG_MESSAGE, "log message");
DEFINE_MTYPE_STATIC(LIB, LOG_TLSBUF, "log thread-local buffer");

View File

@ -26,7 +26,7 @@
#include "frr_pthread.h"
#include "command.h"
#include "monotime.h"
#include "event.h"
#include "frrevent.h"
#include "lib/version.h"
#include "lib/lib_errors.h"

View File

@ -7,7 +7,7 @@
*/
#include <zebra.h>
#include "event.h"
#include "frrevent.h"
#include "sockopt.h"
#include "network.h"
#include "libfrr.h"

Some files were not shown because too many files have changed in this diff Show More