Plugin and API init/exit for conformance

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2016-07-28 23:48:39 +02:00
1 parent 08e46782e5
commit 0710fdd2a3
4 files changed
+24 -6

No files matched your search

+5
View File
@@ -372,6 +372,11 @@ error:
return 1;
}
int api_exit(void)
{
return shutdown(api_watcher.fd, SHUT_RDWR) ||
close(api_watcher.fd);
}
/**
* Local Variables: