| 1 | #ifndef SCANTOOL_DIAG_H | |
| 2 | #define SCANTOOL_DIAG_H | |
| 3 | ||
| 4 | // Hack, so scantool_cli can invoke 'disconnect' on exit. | |
| 5 | ||
| 6 | //Currently, this stops + removes the current global L3 conn. | |
| 7 | //If there are no more L3 conns, also stop + close the global L2 conn. | |
| 8 | enum cli_retval cmd_diag_disconnect(int argc, char **argv); | |
| 9 | ||
| 10 | #endif | |
| 11 |