update c and cpp snippit for c/hstart
updates to c & h prototype