1 /**************************************************************************/
2 /*                                                                        */
3 /* Copyright (c) 2001, 2010 NoMachine, http://www.nomachine.com/.         */
4 /*                                                                        */
5 /* NXCOMP, NX protocol compression and NX extensions to this software     */
6 /* are copyright of NoMachine. Redistribution and use of the present      */
7 /* software is allowed according to terms specified in the file LICENSE   */
8 /* which comes in the source distribution.                                */
9 /*                                                                        */
10 /* Check http://www.nomachine.com/licensing.html for applicability.       */
11 /*                                                                        */
12 /* NX and NoMachine are trademarks of Medialogic S.p.A.                   */
13 /*                                                                        */
14 /* All rights reserved.                                                   */
15 /*                                                                        */
16 /**************************************************************************/
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 #include <stdlib.h>
23 
24 #include "NXvars.h"
25 
26 /*
27  * Allocate here instances of variables and
28  * pointers declared in NXvars.h.
29  */
30 
31 int _NXHandleDisplayError = 0;
32 
33 NXDisplayErrorPredicate _NXDisplayErrorFunction = NULL;
34 
35 int _NXUnsetLibraryPath = 0;
36 
37 NXLostSequenceHandler _NXLostSequenceFunction = NULL;
38 
39 NXDisplayBlockHandler _NXDisplayBlockFunction = NULL;
40 NXDisplayWriteHandler _NXDisplayWriteFunction = NULL;
41 NXDisplayFlushHandler _NXDisplayFlushFunction = NULL;
42 NXDisplayStatisticsHandler _NXDisplayStatisticsFunction = NULL;
43 
44 #ifdef __cplusplus
45 }
46 #endif
47