afb-hook: Factorize call to pattern matching 43/14343/1
authorJosé Bollo <jose.bollo@iot.bzh>
Fri, 4 May 2018 10:12:30 +0000 (12:12 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Wed, 13 Jun 2018 15:14:56 +0000 (17:14 +0200)
commitee625f6a8a4b8261fc5a2abf491d7ee490078134
treecfe29c7d7bb677ddefce9aed0e7b7fdd5187cbff
parent285fc5b291793dfbfe05625d352bd326e224b700
afb-hook: Factorize call to pattern matching

The pattern matching actually use fnmatch but this
could be changed in the futur to some lighter version.

Change-Id: I4f3617cd4a5bdf95988428cb184cef9e9543771d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-hook.c