]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/vty.h
*: Rename `struct thread` to `struct event`
[mirror_frr.git] / lib / vty.h
index 52453d0daae2432de452386fc4188f84b69a7b40..856c352be523f82ea83be6e1733f99e6a3b20d8b 100644 (file)
--- a/lib/vty.h
+++ b/lib/vty.h
@@ -148,7 +148,7 @@ struct vty {
        size_t pending_cmds_bufpos;
 
        /* Confirmed-commit timeout and rollback configuration. */
-       struct thread *t_confirmed_commit_timeout;
+       struct event *t_confirmed_commit_timeout;
        struct nb_config *confirmed_commit_rollback;
 
        /* qobj object ID (replacement for "index") */
@@ -202,12 +202,12 @@ struct vty {
        int lines;
 
        /* Read and write thread. */
-       struct thread *t_read;
-       struct thread *t_write;
+       struct event *t_read;
+       struct event *t_write;
 
        /* Timeout seconds and thread. */
        unsigned long v_timeout;
-       struct thread *t_timeout;
+       struct event *t_timeout;
 
        /* What address is this vty comming from. */
        char address[SU_ADDRSTRLEN];