mirror of
https://github.com/Hizenberg469/Event-Loop-in-C.git
synced 2026-04-20 01:02:23 +03:00
Updated code base
This commit is contained in:
@@ -1,32 +1,30 @@
|
||||
#ifndef __STP_EL__
|
||||
#define __STP_EL__
|
||||
|
||||
#include <event_loop.h>
|
||||
|
||||
#include "event_loop.h"
|
||||
#include "rt.h"
|
||||
|
||||
/* Data structure to pack all argument to one single argument */
|
||||
/* Data Structure to pack all arguments as one single argument */
|
||||
|
||||
typedef struct el_rt_table_update_data_ {
|
||||
|
||||
rt_table_t* rt_table;
|
||||
int cmd_code;
|
||||
rt_table_entry_t* rt_entry;
|
||||
}el_rt_table_update_data_t;
|
||||
rt_table_t* rt_table;
|
||||
int cmd_code;
|
||||
rt_table_entry_t* rt_entry;
|
||||
} el_rt_table_update_data_t;
|
||||
|
||||
void
|
||||
stp_init_el(event_loop_t* el);
|
||||
|
||||
/* Now create APIs' to update routing table using Event loop */
|
||||
|
||||
/* Now create an API to update routing table using Event Loop */
|
||||
task_t*
|
||||
el_stp_update_routing_table(rt_table_t* rt, int cmd_code, rt_table_entry_t* rt_entry);
|
||||
|
||||
void
|
||||
rt_display_rt_table_preemption_context_save(rt_table_t* rt);
|
||||
rt_display_rt_table_preemption_conext_save(rt_table_t* rt);
|
||||
|
||||
void
|
||||
el_stp_serialize_and_send_rt_entry(rt_table_t* rt, rt_table_entry_t* rt_entry_template);
|
||||
el_stp_serialize_and_send_rt_entry(rt_table_t* rt, rt_table_entry_t* rt_entry);
|
||||
|
||||
void
|
||||
el_stp_delete_rt_table(rt_table_t* rt_table);
|
||||
|
||||
Reference in New Issue
Block a user