summaryrefslogtreecommitdiff
path: root/pathd/path_pcep_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'pathd/path_pcep_controller.h')
-rw-r--r--pathd/path_pcep_controller.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/pathd/path_pcep_controller.h b/pathd/path_pcep_controller.h
index 200a5db994..d1cf0a2a1d 100644
--- a/pathd/path_pcep_controller.h
+++ b/pathd/path_pcep_controller.h
@@ -33,8 +33,8 @@ enum pcep_pathd_event_type {
};
struct ctrl_state {
- struct thread_master *main;
- struct thread_master *self;
+ struct event_master *main;
+ struct event_master *self;
pcep_main_event_handler_t main_event_handler;
struct pcc_opts *pcc_opts;
int pcc_count;
@@ -97,7 +97,7 @@ struct pcep_pcc_info {
};
/* Functions called from the main thread */
-int pcep_ctrl_initialize(struct thread_master *main_thread,
+int pcep_ctrl_initialize(struct event_master *main_thread,
struct frr_pthread **fpt,
pcep_main_event_handler_t event_handler);
int pcep_ctrl_finalize(struct frr_pthread **fpt);