]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/zclient.c
*: Rename `struct thread` to `struct event`
[mirror_frr.git] / lib / zclient.c
index 2cd80cc58567dc548e592eba65b6821ff266c0d8..bb5d66df5dc7423ba14b972a551f5a6f5f8e5559 100644 (file)
@@ -249,7 +249,7 @@ static enum zclient_send_status zclient_failed(struct zclient *zclient)
        return ZCLIENT_SEND_FAILURE;
 }
 
-static void zclient_flush_data(struct thread *thread)
+static void zclient_flush_data(struct event *thread)
 {
        struct zclient *zclient = THREAD_ARG(thread);
 
@@ -744,7 +744,7 @@ void zclient_init(struct zclient *zclient, int redist_default,
 
 /* This function is a wrapper function for calling zclient_start from
    timer or event thread. */
-static void zclient_connect(struct thread *t)
+static void zclient_connect(struct event *t)
 {
        struct zclient *zclient;
 
@@ -4026,7 +4026,7 @@ static zclient_handler *const lib_handlers[] = {
 };
 
 /* Zebra client message read function. */
-static void zclient_read(struct thread *thread)
+static void zclient_read(struct event *thread)
 {
        size_t already;
        uint16_t length, command;