diff options
author | Christian Pointner <equinox@helsinki.at> | 2009-11-10 11:01:13 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2009-11-10 11:01:13 (GMT) |
commit | 4b0543607291e787aca8f3eba764142a30cfdbc9 (patch) | |
tree | da41c6ea7bbfaa2f7b5cc0d0385d1ca5bb073470 /utils.h | |
parent | 42859848ad81cf0a55d80b6b3a3c9bed550bd6a5 (diff) |
added baud rate parameter to setup_tty
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -23,10 +23,11 @@ #define _UTILS_H_ #include "options.h" +#include <termios.h> int init_command_socket(const char* path); int send_string(int fd, const char* string); int nonblock_recvline(read_buffer_t* buffer, int fd, cmd_t** cmd_q, client_t* client_lst, options_t* opt); -int setup_tty(int fd); +int setup_tty(int fd, speed_t speed); #endif |