summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2013-09-05 12:11:28 (GMT)
committerThomas Graf <tgraf@suug.ch>2013-09-05 15:46:00 (GMT)
commitfa23414013aa23bb5490d791d788be65a50d5ba6 (patch)
tree50b2979d49aed340aa1e4054331cb99db55fcdcc /python
parent522cf98fc2a5865ab738e308eb4c83270b6a5df7 (diff)
downloadlibnl-fa23414013aa23bb5490d791d788be65a50d5ba6.zip
libnl-fa23414013aa23bb5490d791d788be65a50d5ba6.tar.gz
libnl-fa23414013aa23bb5490d791d788be65a50d5ba6.tar.bz2
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 <arend@broadcom.com> Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'python')
-rw-r--r--python/netlink/capi.i18
1 files changed, 0 insertions, 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;