]> www.vanbest.org Git - sasc-ng.git/commitdiff
nagra 0101: fix auxserver enabling code
authorleslie <unknown>
Thu, 3 Jan 2008 19:53:06 +0000 (20:53 +0100)
committerleslie <unknown>
Thu, 3 Jan 2008 19:53:06 +0000 (20:53 +0100)
systems/nagra/nagra2-0101.c
systems/nagra/nagra2.h

index 6ef927457c4c96317aba852da9fa4e8c2c7c85f1..e37b5e216abda157f7461886d6779ed25ff44332 100644 (file)
 
 // -- cAuxSrv ------------------------------------------------------------------
 
-#define HAS_AUXSRV
-
 #ifdef HAS_AUXSRV
 #include "network.h"
 #define AUX_PROTOCOL_VERSION 2
-static int auxEnabled=0;
-static int auxPort=7777;
-static char auxAddr[80]="localhost";
-static char auxPassword[250]="auxserver";
+int auxEnabled=0;
+int auxPort=7777;
+char auxAddr[80]="localhost";
+char auxPassword[250]="auxserver";
 
 class cAuxSrv : public cMutex {
 private:
index 97c5bf579fe68fce47a9e06e51678ce451fbeeba..50fa76e851680845ebd09b0d90eae8cd619138e7 100644 (file)
 
 // ----------------------------------------------------------------
 
+#define HAS_AUXSRV
+
+#ifdef HAS_AUXSRV
+extern int auxEnabled;
+extern int auxPort;
+extern char auxAddr[80];
+extern char auxPassword[250];
+#endif
+
+// ----------------------------------------------------------------
+
 class cN2Timer {
 private:
   int ctrl, divisor, cycles, remainder, latch;