Changeset 698:b0ea4bca27ad for charset.h
Legend:
- Unmodified
- Added
- Removed
-
charset.h
r636 r698 1 1 /* $Id$ */ 2 2 /* 3 * Copyright (C) 199 8 Ruslan Ermilov <ru@ucb.crimea.ua>3 * Copyright (C) 1999 Thomas Roessler <roessler@guug.de> 4 4 * 5 5 * This program is free software; you can redistribute it and/or modify … … 27 27 typedef int CHARSET_MAP[256]; 28 28 29 typedef struct 29 typedef struct descr 30 30 { 31 CHARSET_MAP *map; 32 } 31 char *symbol; 32 int repr; 33 } 34 CHARDESC; 35 36 typedef struct 37 { 38 char *charset; 39 char escape_char; 40 char comment_char; 41 short multbyte; 42 LIST *aliases; 43 } 44 CHARMAP; 45 46 typedef struct 47 { 48 size_t n_symb; 49 size_t u_symb; 50 51 short multbyte; 52 HASH *symb_to_repr; 53 CHARDESC **description; 54 } 33 55 CHARSET; 34 56 35 #define mutt_unicode_char(cm,ch) (!cm ? -1 : (*cm)[ch])36 57 37 58 CHARSET *mutt_get_charset(const char *);
