Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Firstly, make it capable of returning an intptr_t (which will be a HANDLE) which is generated by the callback function. Or -1 on all errors. Secondly, add an explicit break after calling the callback, so that we aren't making assumptions about what a zero result means. Finally, add an 'all' argument to avoid said break, so that it can still be used for the '--list-taps' functionality as was originally envisaged. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
- Loading branch information
David Woodhouse
authored and
David Woodhouse
committed
Feb 14, 2014
1 parent
fa20adc
commit d785447
Showing
1 changed file
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters