Initialize extension pointer so that assert detects it if not set.
In case some of headers are in same directory with .c files lets collect only .h files with the
header extraction script.

Signed-off-by: Marko Saukko <marko.saukko@jollamobile.com>
Add functions to allow buffer sharing between processes