gxPL  1.0
Tools, Application and Framework for xPL
hub.h
1 
9 #ifndef _GXPL_HUB_HEADER_
10 #define _GXPL_HUB_HEADER_
11 
12 #include <gxPL/defs.h>
13 __BEGIN_C_DECLS
14 /* ========================================================================== */
15 
16 
17 /* internal public functions ================================================ */
18 
45 gxPLHub * gxPLHubOpen (gxPLSetting * setting);
46 
52 int gxPLHubClose (gxPLHub * hub);
53 
60 int gxPLHubPoll (gxPLHub * hub, int timeout_ms);
61 
67 gxPLApplication * gxPLHubApplication (gxPLHub * hub);
68 
73 /* ========================================================================== */
74 __END_C_DECLS
75 #endif /* _GXPL_HUB_HEADER_ defined */
int gxPLHubClose(gxPLHub *hub)
Close a gxPLHub object and release all ressources.
gxPLApplication * gxPLHubApplication(gxPLHub *hub)
Returns the application.
gxPLHub * gxPLHubOpen(gxPLSetting *setting)
Opens a new gxPLHub object.
Describe a gxPLApplication configuration.
Definition: defs.h:238
int gxPLHubPoll(gxPLHub *hub, int timeout_ms)
Polling event of a hub.