C plugin prototype in example dir