Grab definitions from extern.h
Finished C implementation