testExtAU: testExtAU.o $(SHAREDOBJS) $(NOBJS)
$(CXX) $(CXXFLAGS) -rdynamic $^ $(LIBS) $(DYNLIBS) -o $@
+testINIT.o: testINIT.c compat.h
+testINIT: testINIT.o $(SHAREDOBJS) $(NOBJS)
+ $(CXX) $(CXXFLAGS) -rdynamic $^ $(LIBS) $(DYNLIBS) -o $@
+
filterhelper: filterhelper.o
$(CXX) $(CXXFLAGS) $^ -o $@
clean:
@-rm -f *.o core* *~
- @-rm -f testECM testEMM testN1Emu testN2Emu testN2RunEmu testTPS testExtAU
+ @-rm -f testECM testEMM testN1Emu testN2Emu testN2RunEmu testTPS testExtAU testINIT
@-rm -f filterhelper
@-rm -f dump.txt
void cSoftCAM::AddHook(int CardNum, cLogHook *hook) {}
bool cSoftCAM::TriggerHook(int CardNum, int id) { return true; }
void cSoftCAM::CaidsChanged(void) {}
+int cSoftCAM::FilterHandle(int CardNum) { return -1; }
//
//
--- /dev/null
+
+#include <stdlib.h>
+#include <stdio.h>
+
+#include "data.h"
+#include "system.h"
+#include "log.h"
+#include "compat.h"
+#include <vdr/sources.h>
+
+#include <libsi/section.h>
+SI::TOT __dummy;
+
+int main(int argc, char *argv[])
+{
+ if(argc<2) {
+ printf("usage: %s <lib-dir> <plugin-dir>\n",argv[0]);
+ return 1;
+ }
+ DllsLoad(argv[1]);
+ InitAll(argv[2]);
+ LogAll();
+ cLogging::SetModuleOption(LCLASS(7,0x20<<2),false); // Nagra L_SYS_DISASM
+ cLogging::SetModuleOption(LCLASS(7,0x20<<4),false); // Nagra L_SYS_CPUSTATS
+ cLogging::SetModuleOption(LCLASS(16,0x20<<5),false); // Viacsess L_SYS_DISASM
+
+ getchar();
+ return 0;
+}