aboutsummaryrefslogtreecommitdiff
path: root/src/modem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modem.h')
-rw-r--r--src/modem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modem.h b/src/modem.h
index aa43d25..31f9fee 100644
--- a/src/modem.h
+++ b/src/modem.h
@@ -13,6 +13,7 @@
#include "misc.h"
#include "log.h"
+#include "serial.h"
#define _AT "AT\r\n"
#define _AT_ANSWER "ATA\r\n"
@@ -40,3 +41,5 @@ int modem_run(int fd, int argc, char* argv[]);
* Run a program with modem as STDIO. checks if connection is still alive & process is still active.
* will close fd on successful return
* */
+
+void dialup_server(struct prog_params params);