From 4e13c71204e9667cfc4b7da6491972f854d9402d Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Sun, 8 May 2016 16:54:12 +0200 Subject: lib: changed port_id to int returning -1 as uint32_t leads to bugs. also changed types in GPB to sint to use zigzag encoding. --- src/ipcpd/ipcp-ops.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/ipcpd/ipcp-ops.h') diff --git a/src/ipcpd/ipcp-ops.h b/src/ipcpd/ipcp-ops.h index 91b6cac9..5e90939d 100644 --- a/src/ipcpd/ipcp-ops.h +++ b/src/ipcpd/ipcp-ops.h @@ -33,21 +33,21 @@ struct ipcp_ops { int (* ipcp_enroll)(char * member_name, char * n_1_dif); int (* ipcp_reg)(char ** dif_names, - size_t len); + size_t len); int (* ipcp_unreg)(char ** dif_names, - size_t len); + size_t len); int (* ipcp_name_reg)(char * name); int (* ipcp_name_unreg)(char * name); - int (* ipcp_flow_alloc)(uint32_t port_id, - pid_t n_pid, - char * dst_ap_name, - char * src_ap_name, - char * src_ae_name, + int (* ipcp_flow_alloc)(int port_id, + pid_t n_pid, + char * dst_ap_name, + char * src_ap_name, + char * src_ae_name, struct qos_spec * qos); - int (* ipcp_flow_alloc_resp)(uint32_t port_id, - pid_t n_pid, - int response); - int (* ipcp_flow_dealloc)(uint32_t port_id); + int (* ipcp_flow_alloc_resp)(int port_id, + pid_t n_pid, + int response); + int (* ipcp_flow_dealloc)(int port_id); }; #endif /* IPCPD_IPCP_OPS_H */ -- cgit v1.2.3