|
SASC-NG
DVBSoftCAM
|
00001 00002 #include <stdlib.h> 00003 #include <stdio.h> 00004 00005 #include "data.h" 00006 #include "system.h" 00007 #include "log.h" 00008 #include "compat.h" 00009 #include <vdr/sources.h> 00010 00011 #include <libsi/section.h> 00012 SI::TOT __dummy; 00013 00014 int main(int argc, char *argv[]) 00015 { 00016 if(argc<2) { 00017 printf("usage: %s <lib-dir> <plugin-dir>\n",argv[0]); 00018 return 1; 00019 } 00020 DllsLoad(argv[1]); 00021 InitAll(argv[2]); 00022 LogAll(); 00023 cLogging::SetModuleOption(LCLASS(7,0x20<<2),false); // Nagra L_SYS_DISASM 00024 cLogging::SetModuleOption(LCLASS(7,0x20<<4),false); // Nagra L_SYS_CPUSTATS 00025 cLogging::SetModuleOption(LCLASS(16,0x20<<5),false); // Viacsess L_SYS_DISASM 00026 00027 getchar(); 00028 fflush(stdout); 00029 return 0; 00030 }