Implement access control

Move send and dispatch functions to the implementation. This makes it
possible to place an access check before sending and dispatching.
Add module-access that allows to bind and notify on globals owned by
the client.
This commit is contained in:
Wim Taymans 2017-01-10 17:12:53 +01:00
parent a8964ca657
commit ee0aa6a2ac
27 changed files with 819 additions and 220 deletions

View file

@ -1,4 +1,5 @@
pinoscore_headers = [
'access.h',
'client.h',
'client-node.h',
'command.h',
@ -14,6 +15,7 @@ pinoscore_headers = [
]
pinoscore_sources = [
'access.c',
'client.c',
'client-node.c',
'command.c',