summaryrefslogtreecommitdiff
path: root/stacks/max25-bcpr/include/bcpr/bcpr_daemon.h
diff options
context:
space:
mode:
authorinfo@mode42.com <info@mode42.com>2026-08-07 18:23:28 +0000
committerinfo@mode42.com <info@mode42.com>2026-08-07 18:23:28 +0000
commitfa05a5f8238e9e1417235711656e5062ccc843a7 (patch)
tree46fbbd18de54492b59307c16efcc7f3152723238 /stacks/max25-bcpr/include/bcpr/bcpr_daemon.h
Initial push
Diffstat (limited to 'stacks/max25-bcpr/include/bcpr/bcpr_daemon.h')
-rw-r--r--stacks/max25-bcpr/include/bcpr/bcpr_daemon.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/stacks/max25-bcpr/include/bcpr/bcpr_daemon.h b/stacks/max25-bcpr/include/bcpr/bcpr_daemon.h
new file mode 100644
index 0000000..360b0ae
--- /dev/null
+++ b/stacks/max25-bcpr/include/bcpr/bcpr_daemon.h
@@ -0,0 +1,23 @@
+#ifndef BCPR_DAEMON_H
+#define BCPR_DAEMON_H
+
+#include "bcpr/bcpr_config.h"
+#include "bcpr/bcpr_engine.h"
+#include "bcpr/bcpr_kiss.h"
+
+typedef struct bcpr_daemon_opts {
+ int dry_run;
+ int seconds;
+ int cal_mode;
+ int cli_txd_bias;
+ int cli_ptt_wd;
+ int cli_ptt_wd_key_ms;
+ int cli_ptt_wd_pause_ms;
+ int engine_preopened;
+} bcpr_daemon_opts_t;
+
+/* engine_preopened=1: lock/ioperm done in init parent; child after fork. */
+int bcpr_daemon_run(bcpr_config_t *cfg, bcpr_kiss_pty_t *ptys, int npty,
+ bcpr_engine_t *engine, const bcpr_daemon_opts_t *opts);
+
+#endif
git clone -b <branch> https://cgit.mode42.com/<repo>.git
git clone -b <branch> git://cgit.mode42.com/<repo>.git

info@mode42.com