SIM_INTERFACE(rs232_device) { /* Flow control lines */ void (*cts)(conf_object_t *obj, int status); void (*dsr)(conf_object_t *obj, int status); /* Ring indicator */ void (*ring)(conf_object_t *obj, int status); /* Carrier detect */ void (*carrier)(conf_object_t *obj, int status); /* Break */ void (*got_break)(conf_object_t *obj); /* Frame error */ void (*got_frame_error)(conf_object_t *obj); }; #define RS232_DEVICE_INTERFACE "rs232_device"