Merge pull request #3 from fxkxjw/master

test code
important update

cred.h sched.h  do not matter.
update eventcalls.h and evencalls.c
event access control is implemented
you can now test on that:)
doeventinfo: the first section of code