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
28
stick2xyz_pctchar
inputbasic_name
(
void
);
32
stick2xyz_pctchar
inputbasic_desc
(
void
);
36
void
inputbasic_version
(
int
* dest );
40
int
inputbasic_type
(
void
);
44
uint32_t
inputbasic_get_supportedalgorithm
(
void
);
48
void
inputbasic_set_tty
(
void
* fildescout,
void
* fildescerr );
52
int
inputbasic_type_supported
( uint32_t filtype );
53
54
#ifndef __WINDOWS__
58
void
inputbasic_lang
( stick2xyz_print_ptr newval );
59
#endif
/* not __WINDOWS__ */
60
64
input_handle
inputbasic_fopen
(
const
char
* filnam );
68
input_handle
inputbasic_fopen_bt
(
69
const
char
* filnam,
70
uint32_t * filtype
71
);
72
73
#ifdef UNICODE
77
input_handle
inputbasic_fwopen
(
const
wchar_t
* filnam );
81
input_handle
inputbasic_fwopen_bt
(
82
const
wchar_t
* filnam,
83
uint32_t * filtype
84
);
85
#endif
/* UNICODE */
86
90
input_handle
inputbasic_fdopen
(
int
fildes );
94
input_handle
inputbasic_fdopen_bt
(
int
fildes, uint32_t * filtype );
95
99
input_handle
inputbasic_open
(
void
* fildes );
103
input_handle
inputbasic_open_bt
(
104
void
* fildes,
105
uint32_t * filtype
106
);
110
void
inputbasic_close
(
input_handle
handle );
111
115
uint32_t
inputbasic_get_algorithm
(
input_handle
handle );
119
uint32_t
inputbasic_get_utftype
(
input_handle
handle );
123
uint64_t
inputbasic_get_lineno
(
input_handle
handle );
127
int
inputbasic_read
(
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
inputbasic_fdopen_bt
input_handle inputbasic_fdopen_bt(int fildes, uint32_t *filtype)
inputbasic_close
void inputbasic_close(input_handle handle)
inputbasic_get_algorithm
uint32_t inputbasic_get_algorithm(input_handle handle)
inputbasic_read
int inputbasic_read(input_handle handle, struct input_buf *dest, size_t dest_size, size_t dest_str_size)
inputbasic_type_supported
int inputbasic_type_supported(uint32_t filtype)
inputbasic_open
input_handle inputbasic_open(void *fildes)
inputbasic_version
void inputbasic_version(int *dest)
inputbasic_name
stick2xyz_pctchar inputbasic_name(void)
inputbasic_set_tty
void inputbasic_set_tty(void *fildescout, void *fildescerr)
inputbasic_open_bt
input_handle inputbasic_open_bt(void *fildes, uint32_t *filtype)
inputbasic_get_utftype
uint32_t inputbasic_get_utftype(input_handle handle)
inputbasic_get_lineno
uint64_t inputbasic_get_lineno(input_handle handle)
inputbasic_fwopen
input_handle inputbasic_fwopen(const wchar_t *filnam)
inputbasic_fdopen
input_handle inputbasic_fdopen(int fildes)
inputbasic_fwopen_bt
input_handle inputbasic_fwopen_bt(const wchar_t *filnam, uint32_t *filtype)
inputbasic_get_supportedalgorithm
uint32_t inputbasic_get_supportedalgorithm(void)
inputbasic_lang
void inputbasic_lang(stick2xyz_print_ptr newval)
inputbasic_fopen_bt
input_handle inputbasic_fopen_bt(const char *filnam, uint32_t *filtype)
inputbasic_type
int inputbasic_type(void)
inputbasic_fopen
input_handle inputbasic_fopen(const char *filnam)
inputbasic_desc
stick2xyz_pctchar inputbasic_desc(void)
stick2xyz.h
input_handle
void * input_handle
Definition:
stick2xyz.h:1892
stick2xyz_pctchar
const wchar_t * stick2xyz_pctchar
Definition:
stick2xyz.h:145
input_buf
Definition:
stick2xyz.h:2045
stick2xyz Project Page