summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index 39dae46..4c57ae7 100644
--- a/utils.h
+++ b/utils.h
@@ -22,10 +22,13 @@
#ifndef RHCTL_utils_h_INCLUDED
#define RHCTL_utils_h_INCLUDED
+#include "command_queue.h"
+#include "client_list.h"
#include "options.h"
#include <termios.h>
int init_command_socket(const char* path);
+int connect_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, speed_t speed);