|
SASC
DVBSoftCAM
|
00001 00002 #include <stdlib.h> 00003 #include <stdio.h> 00004 00005 #define TESTER 00006 #include "data.h" 00007 #include "scsetup.h" 00008 #include "compat.h" 00009 00010 #include <libsi/section.h> 00011 SI::TOT __dummy; 00012 00013 void cPlainKeys::TestExternalUpdate(void) 00014 { 00015 Lock(); 00016 Start(); 00017 Unlock(); 00018 while(Active()) { 00019 printf("."); fflush(stdout); 00020 cCondWait::SleepMs(600); 00021 } 00022 } 00023 00024 int main(int argc, char *argv[]) 00025 { 00026 if(argc<3) { 00027 printf("usage: %s <lib-dir> <plugin-dir> <extau>\n",argv[0]); 00028 return 1; 00029 } 00030 DllsLoad(argv[1]); 00031 InitAll(argv[2]); 00032 LogAll(); 00033 00034 ScSetup.AutoUpdate=1; 00035 externalAU=argv[3]; 00036 keys.TestExternalUpdate(); 00037 }