nfctool: Add a handler mechanism for netlink events
authorThierry Escande <thierry.escande@linux.intel.com>
Mon, 4 Mar 2013 13:49:17 +0000 (14:49 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 4 Mar 2013 15:26:48 +0000 (16:26 +0100)
commitb449f69c993511e8aedff33c4f0e161833b31373
treec75d54d4412d21bd497f5ccfff24956e558cbdde
parent7c13556baeecbde601d2df8368d93fad381ab297
nfctool: Add a handler mechanism for netlink events

Instead of one callback function in main.c for all netlink events, these
changes allow to register per event callback functions. this will be used
more intensively for service name lookup support.
tools/nfctool/main.c
tools/nfctool/netlink.c
tools/nfctool/netlink.h