summaryrefslogtreecommitdiff
path: root/gisi/iter.h
diff options
context:
space:
mode:
authorAki Niemi <aki.niemi@nokia.com>2009-09-14 16:21:06 +0300
committerAki Niemi <aki.niemi@nokia.com>2009-09-14 16:21:06 +0300
commita1ca8a9afa7d09285f4f430099abada5b858dc29 (patch)
tree8fa32c2687da21939114dfc535cd47314765232b /gisi/iter.h
parentd7459f45fcc05189e9638e122dc410a5d682490f (diff)
Add and modify string getters
Add a getter for latin ASCII only tags, and change the alpha tag getter. Turns out not all alpha tags in ISI are of the length-value variety.
Diffstat (limited to 'gisi/iter.h')
-rw-r--r--gisi/iter.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gisi/iter.h b/gisi/iter.h
index 87ebfdba..9c439a84 100644
--- a/gisi/iter.h
+++ b/gisi/iter.h
@@ -48,7 +48,11 @@ bool g_isi_sb_iter_get_word(GIsiSubBlockIter *iter, uint16_t *word, int pos);
bool g_isi_sb_iter_get_dword(GIsiSubBlockIter *iter, uint32_t *dword, int pos);
bool g_isi_sb_iter_get_oper_code(GIsiSubBlockIter *iter, char *mcc,
char *mnc, int pos);
-bool g_isi_sb_iter_get_alpha_tag(GIsiSubBlockIter *iter, char **utf8, int pos);
+bool g_isi_sb_iter_get_alpha_tag(GIsiSubBlockIter *iter, char **utf8,
+ size_t len, int pos);
+bool g_isi_sb_iter_get_latin_tag(GIsiSubBlockIter *iter, char **ascii,
+ size_t len, int pos);
+
bool g_isi_sb_iter_init(const void restrict *data, size_t len,
GIsiSubBlockIter *iter);