Instrument Neutral Distributed Interface INDI 2.2.5
indidriverio.h
Go to the documentation of this file.
1#if 0
2INDI Driver Functions
3
4Copyright (C) 2022 by Ludovic Pollet
5
6This library is free software;
7you can redistribute it and / or
8modify it under the terms of the GNU Lesser General Public
9License as published by the Free Software Foundation;
10either
11version 2.1 of the License, or (at your option) any later version.
12
13This library is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY;
15without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17Lesser General Public License for more details.
18
19You should have received a copy of the GNU Lesser General Public
20License along with this library;
21if not, write to the Free Software
22Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110 - 1301 USA
23
24#endif
25
26/* A driverio struct is valid only for sending one xml message */
27typedef struct driverio
28{
29 struct userio userio;
30 void * user;
31 void ** joins;
32 size_t * joinSizes;
34 int locked;
35 char * outBuff;
36 unsigned int outPos;
38
39void driverio_init(driverio * dio);
40void driverio_finish(driverio * dio);
void driverio_init(driverio *dio)
void driverio_finish(driverio *dio)
Namespace to encapsulate INDI client, drivers, and mediator classes.
void ** joins
char * outBuff
void * user
unsigned int outPos
size_t * joinSizes
int joinCount