summaryrefslogtreecommitdiffstats
path: root/src/router/routing.h
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2021-08-25 15:44:03 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2021-09-17 16:33:29 +0200
commit67d66e73d233e156aa7dddab2d56c0bb2211c02e (patch)
treef25123db95a5c2cc70f05f4e85d7c8902d3c50f8 /src/router/routing.h
parent42f4d661a999215166672fba9d3a182ae58babcc (diff)
Structured the commands and environment variablesHEADmaster
Diffstat (limited to 'src/router/routing.h')
-rw-r--r--src/router/routing.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/router/routing.h b/src/router/routing.h
index bab5502..d5e43ca 100644
--- a/src/router/routing.h
+++ b/src/router/routing.h
@@ -15,6 +15,7 @@ typedef struct routing {
const char *envp[256]; /* environment variables */
int envc_dialing; /* envc index for dialing number */
int envc_keypad; /* envc index for keypad */
+ int envc_complete; /* envc index for complete */
pid_t script_pid; /* pid of routing script */
int script_stdin; /* pipe to stdin */
@@ -32,8 +33,9 @@ typedef struct routing {
struct string_queue *stderr_queue; /* strings read from script */
} routing_t;
+void env_help(void);
void routing_env_msg(routing_t *routing, osmo_cc_msg_t *msg);
-void routing_env_dialing(routing_t *routing, const char *number, const char *keypad);
+void routing_env_dialing(routing_t *routing, char *number, char *keypad, int complete);
void routing_env_free(routing_t *routing);
void routing_start(routing_t *routing, const char *script, const char *shell);
void routing_stop(routing_t *routing);