summary refs log tree commit diff
path: root/locale/programs/charset.h
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs/charset.h')
-rw-r--r--locale/programs/charset.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/locale/programs/charset.h b/locale/programs/charset.h
index 222d468407..1e8819c662 100644
--- a/locale/programs/charset.h
+++ b/locale/programs/charset.h
@@ -26,11 +26,23 @@ Boston, MA 02111-1307, USA.  */
 #include "linereader.h"
 
 
+struct width_rule
+{
+  unsigned int from;
+  unsigned int to;
+  unsigned int width;
+};
+
+
 struct charset_t
 {
   const char *code_set_name;
   int mb_cur_min;
   int mb_cur_max;
+
+  struct width_rule *width_rules;
+  size_t nwidth_rules;
+  size_t nwidth_rules_max;
   int width_default;
 
   struct obstack mem_pool;