MCPcopy Create free account
hub / github.com/3proxy/3proxy / h_include

Function h_include

src/conf.c:369–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367}
368
369static int h_include(int argc, unsigned char **argv){
370 int res;
371 FILE *fp1;
372
373 fp1 = fopen((char *)argv[1], "r");
374 if(!fp1){
375 fprintf(stderr, "Unable to open included file: %s\n", argv[1]);
376 return 1;
377 }
378 res = readconfig(fp1);
379 fclose(fp1);
380 return res;
381}
382
383static int h_archiver(int argc, unsigned char **argv){
384 int j;

Callers

nothing calls this directly

Calls 1

readconfigFunction · 0.85

Tested by

no test coverage detected