Added Czech support, bumped version

This commit is contained in:
Michiel Broek
2004-04-11 09:52:32 +00:00
parent 1d076afea1
commit 5d7ef141c3
6 changed files with 16 additions and 5 deletions

View File

@@ -114,6 +114,8 @@ char *getchrs(int val)
case FTNC_CP850: return (char *)"CP850 2";
case FTNC_CP865: return (char *)"CP865 2";
case FTNC_CP866: return (char *)"CP866 2";
case FTNC_CP852: return (char *)"CP852 2";
case FTNC_CP895: return (char *)"CP895 2";
case FTNC_LATIN_1: return (char *)"LATIN-1 2";
case FTNC_LATIN_2: return (char *)"LATIN-2 2";
case FTNC_LATIN_5: return (char *)"LATIN-5 2";
@@ -131,6 +133,8 @@ char *getchrsdesc(int val)
case FTNC_CP850: return (char *)"IBM codepage 850 (Latin-1)";
case FTNC_CP865: return (char *)"IBM codepage 865 (Nordic)";
case FTNC_CP866: return (char *)"IBM codepage 866 (Russian)";
case FTNC_CP852: return (char *)"IBM codepage 852 (Czech, Latin-1)";
case FTNC_CP895: return (char *)"IBM codepage 895 (Czech, Kamenicky)";
case FTNC_LATIN_1: return (char *)"ISO 8859-1 (Western European)";
case FTNC_LATIN_2: return (char *)"ISO 8859-2 (Eastern European)";
case FTNC_LATIN_5: return (char *)"ISO 8859-5 (Turkish)";

View File

@@ -370,7 +370,9 @@ struct icmp_filter {
#define FTNC_LATIN_2 6 /* ISO 8859-2 (Eastern Europe) */
#define FTNC_LATIN_5 7 /* ISO 8859-5 (Turkish) */
#define FTNC_MAC 8 /* MacIntosh character set */
#define FTNC_MAXCHARS 8 /* Highest charset number */
#define FTNC_CP852 9 /* IBM CP 852 (Czech, Latin-2) */
#define FTNC_CP895 10 /* IBM CP 895 (Czech, Kamenicky) */
#define FTNC_MAXCHARS 10 /* Highest charset number */
/*****************************************************************************