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