Bumped to version 0.91.5

This commit is contained in:
Michiel Broek
2007-02-18 15:38:50 +00:00
parent 7cc1641b52
commit 08e43d99a0
14 changed files with 157 additions and 16 deletions

View File

@@ -4,7 +4,7 @@
* Purpose ...............: Characterset functions
*
*****************************************************************************
* Copyright (C) 1997-2005
* Copyright (C) 1997-2007
*
* Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10
@@ -31,6 +31,7 @@
#include "../config.h"
#include "mbselib.h"
#ifndef USE_EXPERIMENT
#define BUF_APPEND(d,s) str_append(d,sizeof(d),s)
@@ -105,6 +106,7 @@ char *str_copy(char *d, size_t n, char *s)
#define BUF_COPY(d,s) str_copy (d,sizeof(d),s)
#endif
char *getftnchrs(int val)
{
@@ -202,6 +204,7 @@ char *getchrsdesc(int val)
}
#ifndef USE_EXPERIMENT
/*
* Alloc new CharsetTable and put into linked list
@@ -481,4 +484,5 @@ int charset_set_in_out(char *in, char *out)
return FALSE;
}
#endif

View File

@@ -5,7 +5,7 @@
* Author ................: Martin Junius, for Fidogate
*
*****************************************************************************
* Copyright (C) 1997-2005
* Copyright (C) 1997-2007
*
* Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10
@@ -60,6 +60,9 @@
#include "../config.h"
#include "mbselib.h"
#ifndef USE_EXPERIMENT
#include "mbcharsetc.h"
@@ -386,3 +389,14 @@ int main(int argc, char **argv)
exit(ret);
}
#else
int main(int argc, char **argv)
{
printf("program disabled by configure option\n");
exit(0);
}
#endif

View File

@@ -2578,6 +2578,8 @@ int create_tmpwork(void); /* Create tmp workdir */
* Charset mapping
*/
#ifndef USE_EXPERIMENT
#define MAX_CHARSET_NAME 16
#define MAX_CHARSET_IN 128
#define MAX_CHARSET_OUT 4
@@ -2599,11 +2601,16 @@ typedef struct st_charset_table {
struct st_charset_table *next;
} CharsetTable;
#endif
char *getftnchrs(int); /* Return FTN characterset name */
char *getrfcchrs(int); /* Return RFC characterset name */
char *getlocale(int); /* Return locale name */
char *getchrsdesc(int); /* Return characterset description */
#ifndef USE_EXPERIMENT
CharsetTable *charset_table_new(void); /* Add table to linked list */
CharsetAlias *charset_alias_new(void); /* Add alias to linked list */
int charset_write_bin(char *); /* Save charset.bin */
@@ -2614,6 +2621,7 @@ char *charset_alias_fsc(char *); /* Search FSC alias */
char *charset_alias_rfc(char *); /* Search RFC alias */
int charset_set_in_out(char *, char *); /* Setup mapping */
#endif
/****************************************************************************