mirror of
https://gitee.com/openharmony/third_party_libnl
synced 2024-12-04 09:13:33 +00:00
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>
This commit is contained in:
parent
522cf98fc2
commit
fa23414013
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user