equal
deleted
inserted
replaced
90 if ((ret = line_proto_flush(lp)) < 0) |
90 if ((ret = line_proto_flush(lp)) < 0) |
91 // faaail |
91 // faaail |
92 return line_proto_set_error(lp); |
92 return line_proto_set_error(lp); |
93 } |
93 } |
94 |
94 |
|
95 // XXX: implement on_error! |
95 static const struct transport_callbacks line_proto_transport_callbacks = { |
96 static const struct transport_callbacks line_proto_transport_callbacks = { |
96 .on_read = &line_proto_on_read, |
97 .on_read = &line_proto_on_read, |
97 .on_write = &line_proto_on_write, |
98 .on_write = &line_proto_on_write, |
98 }; |
99 }; |
99 |
100 |