add ocs.h
Merge branch 'master' of https://github.com/vialette/ocs-c
refactoring