aboutsummaryrefslogtreecommitdiffstats
path: root/serial.h
blob: 6cd86860d32944a22f4dcce442301376982a55d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef SERIAL_H
#define SERIAL_H

enum flowctrl {
    FLOW_NONE,
    FLOW_DTR,			/* DTR/DSR */
    FLOW_RTS			/* RTS/CTS */
};

int open_serial(const char *port, unsigned long speed, enum flowctrl flowctrl);

#endif /* SERIAL_H */