diff options
Diffstat (limited to 'src/router/routing.h')
-rw-r--r-- | src/router/routing.h | 4 |
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); |