From fa23414013aa23bb5490d791d788be65a50d5ba6 Mon Sep 17 00:00:00 2001 From: Arend van Spriel Date: Thu, 5 Sep 2013 14:11:28 +0200 Subject: [PATCH] python: remove unnecessary callback type definitions Copied the typedefs when adding callback support, but they serve no actual use in the swig input file. Signed-off-by: Arend van Spriel Signed-off-by: Thomas Graf --- python/netlink/capi.i | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/python/netlink/capi.i b/python/netlink/capi.i index 507c220..1e13d46 100644 --- a/python/netlink/capi.i +++ b/python/netlink/capi.i @@ -539,24 +539,6 @@ struct nlmsgerr { %{ -/** - * nl_recvmsgs() callback for message processing customization - * @ingroup cb - * @arg msg netlink message being processed - * @arg arg argument passwd on through caller - */ -typedef int (*nl_recvmsg_msg_cb_t)(struct nl_msg *msg, void *arg); - -/** - * nl_recvmsgs() callback for error message processing customization - * @ingroup cb - * @arg nla netlink address of the peer - * @arg nlerr netlink error message being processed - * @arg arg argument passed on through caller - */ -typedef int (*nl_recvmsg_err_cb_t)(struct sockaddr_nl *nla, - struct nlmsgerr *nlerr, void *arg); - struct pynl_callback { PyObject *cbf; PyObject *cba;