1 #include "dact.h" 2 #include "dact_common.h" 3 #include "libdact.h" 4 #include "net.h" 5 dact_init(void)6int dact_init(void) { 7 static int called = 0; 8 9 if (called) { 10 return(0); 11 } 12 13 if (dact_init_net() < 0) { 14 dact_nonetwork = 1; 15 } 16 17 called = 1; 18 return(0); 19 } 20 dact_openfile(const char * pathname)21void *dact_openfile(const char *pathname) { 22 return(NULL); 23 } 24 dact_BuffToBuffDecompress(void)25int dact_BuffToBuffDecompress(void) { 26 dact_init(); 27 return(0); 28 } dact_BuffToBuffCompress(void)29int dact_BuffToBuffCompress(void) { 30 dact_init(); 31 return(0); 32 } 33