3 Copyright (C) 2003 Elwood C. Downey
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;
11 version 2.1 of the License, or (at your option) any later version.
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.
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
38 typedef void(
CBF)(
int fd,
void *);
43 typedef void(
WPF)(
void *);
48 typedef void(
TCF)(
void *);
133 extern int deferLoop(
int maxms,
int *flagp);
void eventLoop()
Main calls this when ready to hand over control.
int remainingTimer(int tid)
void() WPF(void *)
Signature of a work procedure function.
int addWorkProc(WPF *fp, void *ud)
int nsecRemainingTimer(int tid)
int addTimer(int ms, TCF *fp, void *ud)
int addPeriodicTimer(int ms, TCF *fp, void *ud)
void() CBF(int fd, void *)
Signature of a callback function.
void addImmediateWork(TCF *fp, void *ud)
int deferLoop0(int maxms, int *flagp)
int deferLoop(int maxms, int *flagp)
void() TCF(void *)
Signature of a timer function.
int addCallback(int fd, CBF *fp, void *ud)
Namespace to encapsulate INDI client, drivers, and mediator classes.