diff options
| author | Dave Hibberd <d@vehibberd.com> | 2023-09-12 21:38:19 +0100 |
|---|---|---|
| committer | Dave Hibberd <d@vehibberd.com> | 2023-09-12 21:38:19 +0100 |
| commit | 51667f3056f13acc54229843121ac37093e5c4fa (patch) | |
| tree | f307ba57caaddce0bfce270fcd5f54865881bc2c /tt_text.h | |
| parent | cc152664115edea852d18f9a1505db6914dce569 (diff) | |
| parent | 3cdcbeea3e2891f4a10c79b272da144f37ff24f3 (diff) | |
Update upstream source from tag 'upstream/0.67'
Update to upstream version '0.67'
with Debian dir d407fa05796b5e411553bba52531842bd913bb88
Diffstat (limited to 'tt_text.h')
| -rw-r--r-- | tt_text.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/tt_text.h b/tt_text.h new file mode 100644 index 0000000..7cab3b8 --- /dev/null +++ b/tt_text.h @@ -0,0 +1,38 @@ + +/* tt_text.h */ + + +/* Encode normal human readable to DTMF representation. */ + +int tt_text_to_multipress (const char *text, int quiet, char *buttons); + +int tt_text_to_two_key (const char *text, int quiet, char *buttons); + +int tt_text_to_call10 (const char *text, int quiet, char *buttons); + +int tt_text_to_mhead (const char *text, int quiet, char *buttons, size_t buttonsiz); + +int tt_text_to_satsq (const char *text, int quiet, char *buttons, size_t buttonsiz); + +int tt_text_to_ascii2d (const char *text, int quiet, char *buttons); + + +/* Decode DTMF to normal human readable form. */ + +int tt_multipress_to_text (const char *buttons, int quiet, char *text); + +int tt_two_key_to_text (const char *buttons, int quiet, char *text); + +int tt_call10_to_text (const char *buttons, int quiet, char *text); + +int tt_call5_suffix_to_text (const char *buttons, int quiet, char *text); + +int tt_mhead_to_text (const char *buttons, int quiet, char *text, size_t textsiz); + +int tt_satsq_to_text (const char *buttons, int quiet, char *text); + +int tt_ascii2d_to_text (const char *buttons, int quiet, char *text); + + + +/* end tt_text.h */
\ No newline at end of file |
