summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-10 16:49:10 +0200
committerMattias Andrée <maandree@kth.se>2021-09-10 16:49:10 +0200
commite1d6b5976cfb69454d96ccb0438624a61406b63c (patch)
treef7136f400a971c4fc5655b299a63a35dda5d4d6c /common.h
parentAdd numtext-strip (diff)
downloadlibnumtext-e1d6b5976cfb69454d96ccb0438624a61406b63c.tar.gz
libnumtext-e1d6b5976cfb69454d96ccb0438624a61406b63c.tar.bz2
libnumtext-e1d6b5976cfb69454d96ccb0438624a61406b63c.tar.xz
Add multicall binary
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common.h b/common.h
index 1f99622..978103a 100644
--- a/common.h
+++ b/common.h
@@ -49,5 +49,11 @@ struct common_num2text_params {
};
+int run(int argc, char *argv[], ssize_t (*callback)(char *outbuf, size_t outbuf_size, const char *num, size_t num_len));
+int get_language(const char *arg, enum libnumtext_language *langp, int *have_langp);
+
+int numtext_strip_main(int argc, char *argv[]);
+
+
ssize_t libnumtext_num2text_swedish__(struct common_num2text_params *params, const char *num, size_t num_len, uint32_t flags);
ssize_t libnumtext_card2ord_swedish__(char *outbuf, size_t outbuf_size, const char *num, size_t num_len, uint32_t flags);