20#include "inputbasicpriv.h"
26static int modversion[] =
27 {STICK2XYZ_VER_MAJOR, STICK2XYZ_VER_MINOR, STICK2XYZ_VER_REVISION};
29static FILE * modttyout = NULL;
30static FILE * modttyerr = NULL;
32#ifndef STICK2XYZ_NO_MODLANGPACKS
34stick2xyz_print_ptr stick2xyz_lang_lib_inputbasic = NULL;
38 stick2xyz_lang_lib_inputbasic = newval;
46 return stick2xyz_inputbasic_modname();
51 return stick2xyz_inputbasic_moddesc();
56 dest[0] = modversion[0];
57 dest[1] = modversion[1];
58 dest[2] = modversion[2];
81 modttyout = (FILE *)fildescout;
82 modttyerr = (FILE *)fildescerr;
85FILE * input_basic_get_ttyout (
void )
87 if ( modttyout == NULL )
93FILE * input_basic_get_ttyerr (
void )
95 if ( modttyerr == NULL )
160 struct input_basic_handle * handle_priv;
163 if ( handle == NULL )
167 handle_priv = (
struct input_basic_handle *)handle;
171 if ( handle_priv->input_basic_handle_flags & INPUTBASIC_GZIP )
177 if ( handle_priv->input_basic_handle_flags & INPUTBASIC_BZIP2 )
183 if ( handle_priv->input_basic_handle_flags & INPUTBASIC_LZMA2 )
194 if ( handle == NULL )
198 struct input_basic_handle * handle_priv;
201 handle_priv = (
struct input_basic_handle *)handle;
204 if ( handle_priv->input_basic_handle_flags & INPUTBASIC_UTF16_BIG )
207 if ( handle_priv->input_basic_handle_flags & INPUTBASIC_UTF16_LITTLE )
210 if ( handle_priv->input_basic_handle_flags & INPUTBASIC_UTF32_BIG )
213 if ( handle_priv->input_basic_handle_flags & INPUTBASIC_UTF32_LITTLE )
223 struct input_basic_handle * handle_priv;
226 if ( handle == NULL )
230 handle_priv = (
struct input_basic_handle *)handle;
233 return handle_priv->input_basic_handle_lineno;
238#ifndef STICK2XYZ_STATIC
643 handle, dest, dest_size, dest_str_size);
715#ifndef STICK2XYZ_NO_MODLANGPACKS
#define STICK2XYZ_INPUT_TYPE_UTF32BE
#define STICK2XYZ_INPUT_TYPE_AUTO
#define STICK2XYZ_MODTYPE_INPUT
#define STICK2XYZ_INPUT_TYPE_UTF16LE
#define STICK2XYZ_INPUT_TYPE_UTF32LE
#define STICK2XYZ_INPUT_TYPE_GZIP
#define STICK2XYZ_INPUT_TYPE_UTF8
const wchar_t * stick2xyz_pctchar
void(* input_sigterm_ready)(int)
#define STICK2XYZ_MODTYPE_INPUT_UNICODE
#define STICK2XYZ_INPUT_TYPE_BZIP2
#define STICK2XYZ_INPUT_TYPE_UTF16BE
#define STICK2XYZ_INPUT_TYPE_PLAIN
#define STICK2XYZ_MODTYPE_INPUT_UNICODE_DEBUG
#define STICK2XYZ_MODTYPE_INPUT_DEBUG
#define STICK2XYZ_INPUT_TYPE_LZMA2