diff options
Diffstat (limited to 'include/ouroboros/protobuf.h')
-rw-r--r-- | include/ouroboros/protobuf.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/ouroboros/protobuf.h b/include/ouroboros/protobuf.h index 399cb36f..6cb24c2f 100644 --- a/include/ouroboros/protobuf.h +++ b/include/ouroboros/protobuf.h @@ -52,8 +52,8 @@ typedef IpcpListMsg ipcp_list_msg_t; #include "model.pb-c.h" typedef FlowInfoMsg flow_info_msg_t; -typedef LayerInfoMsg layer_info_msg_t; typedef NameInfoMsg name_info_msg_t; +typedef LayerInfoMsg layer_info_msg_t; typedef QosspecMsg qosspec_msg_t; #include "enroll.pb-c.h" @@ -70,6 +70,10 @@ flow_info_msg_t * flow_info_s_to_msg(const struct flow_info * s); struct flow_info flow_info_msg_to_s(const flow_info_msg_t * msg); +name_info_msg_t * name_info_s_to_msg(const struct name_info * s); + +struct name_info name_info_msg_to_s(const name_info_msg_t * msg); + layer_info_msg_t * layer_info_s_to_msg(const struct layer_info * s); struct layer_info layer_info_msg_to_s(const layer_info_msg_t * msg); |