Add eo init/shutdown functions

- Use c_uint for line number paremeter for _eo_do_start.