int ec_FOEwrite(uint16 slave, char *filename, uint32 password, int psize, void *p, int timeout)
int ec_init(const char *ifname)
uint32 ec_readeeprom(uint16 slave, uint16 eeproma, int timeout)
PACKED_END PACKED_BEGIN struct PACKED ec_sm ec_smt
int ec_writestate(uint16 slave)
uint16 ec_statecheck(uint16 slave, uint16 reqstate, int timeout)