1 /*-------------------------------------------------------------------------
3 * Copyright (c) 2016-2021, ludia_funcs Development Group
4 * Copyright (c) 2006-2015, NTT DATA Corporation
9 * Update Ludia functions so that they are available with PostgreSQL9.1.
10 * Author: NTT DATA Corporation
12 *-------------------------------------------------------------------------
15 #include "ludia_funcs.h"
21 ExecTextPorter(unsigned char *Appfile, unsigned char *Txtfile,
22 unsigned char *GroupName, unsigned char *DefLangName,
23 int bBigEndian, unsigned int Option,
24 unsigned int Option1, long Size, unsigned short Csv_c)
26 DMC_TEXTINFO_V5 textinfo;
28 strncpy((char *)textinfo.GroupName, (const char *)GroupName, MAX_GROUP_NAME);
29 strncpy((char *)textinfo.DefLangName, (const char *)DefLangName, MAX_LANG_NAME);
30 textinfo.bBigEndian = bBigEndian;
31 textinfo.Option = Option;
32 textinfo.Option1 = Option1;
34 textinfo.Csv_c = Csv_c;
36 return DMC_GetText_V5((Byte *)Appfile, (Byte *)Txtfile,
40 #endif /* TEXTPORTER */