diff options
author | behdad <behdad> | 2001-03-26 16:15:52 +0000 |
---|---|---|
committer | behdad <behdad> | 2001-03-26 16:15:52 +0000 |
commit | 0ef1a61fc316161edcd15074dba480d52836258f (patch) | |
tree | 1773d026154cc12d5f143b3b01e18afee028de85 /fribidi_char_sets_cp1256.h | |
parent | 736d073fe0fce8d677ee8179321e3ae443f52c7c (diff) |
Final work for the next release
Diffstat (limited to 'fribidi_char_sets_cp1256.h')
-rw-r--r-- | fribidi_char_sets_cp1256.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/fribidi_char_sets_cp1256.h b/fribidi_char_sets_cp1256.h new file mode 100644 index 0000000..85864cb --- /dev/null +++ b/fribidi_char_sets_cp1256.h @@ -0,0 +1,40 @@ +/* FriBidi - Library of BiDi algorithm + * Copyright (C) 1999 Dov Grobgeld + * Copyright (C) 2001 Behdad Esfahbod + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ +#ifndef FRIBIDI_CHAR_SETS_CP1256_H +#define FRIBIDI_CHAR_SETS_CP1256_H + +#include "fribidi.h" + +#define fribidi_char_set_name_cp1256 "CP1256" +#define fribidi_char_set_title_cp1256 "CP1256 (MS-Arabic)" +#define fribidi_char_set_desc_cp1256 NULL +#define fribidi_char_set_enter_cp1256 NULL +#define fribidi_char_set_leave_cp1256 NULL + +FriBidiChar fribidi_cp1256_to_unicode_c (guchar ch); +gint fribidi_cp1256_to_unicode (guchar * s, + /* Output */ + FriBidiChar * us); +guchar fribidi_unicode_to_cp1256_c (FriBidiChar uch); +gint fribidi_unicode_to_cp1256 (FriBidiChar * us, gint length, + /* Output */ + guchar * s); + +#endif /* FRIBIDI_CHAR_SETS_CP1256_H */ |