The stick2xyz Documentation 1.14.1
inputbasic.h
Go to the documentation of this file.
1/***************************************************************************
2 * stick2xyz - Can create and convert stick figure animations for CG. *
3 * Copyright (C) 2021 by Kevin McBride <dolphindddd@aol.com> *
4 * *
5 * This program is free software: you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation, either version 3 of the License, or *
8 * (at your option) any later version. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
17 ***************************************************************************/
18
19
20#ifndef INPUTBASIC_H
21#define INPUTBASIC_H (1)
22
23#include <stick2xyz.h>
24
36void inputbasic_version ( int * dest );
40int inputbasic_type ( void );
48void inputbasic_set_tty ( void * fildescout, void * fildescerr );
52int inputbasic_type_supported ( uint32_t filtype );
53
54#ifndef __WINDOWS__
58void inputbasic_lang ( stick2xyz_print_ptr newval );
59#endif /* not __WINDOWS__ */
60
64input_handle inputbasic_fopen ( const char * filnam );
69 const char * filnam,
70 uint32_t * filtype
71);
72
73#ifdef UNICODE
77input_handle inputbasic_fwopen ( const wchar_t * filnam );
82 const wchar_t * filnam,
83 uint32_t * filtype
84);
85#endif /* UNICODE */
86
94input_handle inputbasic_fdopen_bt ( int fildes, uint32_t * filtype );
95
99input_handle inputbasic_open ( void * fildes );
104 void * fildes,
105 uint32_t * filtype
106);
111
128 input_handle handle,
129 struct input_buf * dest,
130 size_t dest_size,
131 size_t dest_str_size
132);
133
134#endif /* INPUTBASIC_H */
135
input_handle inputbasic_fdopen_bt(int fildes, uint32_t *filtype)
void inputbasic_close(input_handle handle)
uint32_t inputbasic_get_algorithm(input_handle handle)
int inputbasic_read(input_handle handle, struct input_buf *dest, size_t dest_size, size_t dest_str_size)
int inputbasic_type_supported(uint32_t filtype)
input_handle inputbasic_open(void *fildes)
void inputbasic_version(int *dest)
stick2xyz_pctchar inputbasic_name(void)
void inputbasic_set_tty(void *fildescout, void *fildescerr)
input_handle inputbasic_open_bt(void *fildes, uint32_t *filtype)
uint32_t inputbasic_get_utftype(input_handle handle)
uint64_t inputbasic_get_lineno(input_handle handle)
input_handle inputbasic_fwopen(const wchar_t *filnam)
input_handle inputbasic_fdopen(int fildes)
input_handle inputbasic_fwopen_bt(const wchar_t *filnam, uint32_t *filtype)
uint32_t inputbasic_get_supportedalgorithm(void)
void inputbasic_lang(stick2xyz_print_ptr newval)
input_handle inputbasic_fopen_bt(const char *filnam, uint32_t *filtype)
int inputbasic_type(void)
input_handle inputbasic_fopen(const char *filnam)
stick2xyz_pctchar inputbasic_desc(void)
void * input_handle
Definition: stick2xyz.h:1892
const wchar_t * stick2xyz_pctchar
Definition: stick2xyz.h:145

SourceForge.net Logo  stick2xyz Project Page