|
|
1.1 root 1: /* update_contents()
2:
3: This is a quick and dirty option added to the mwcbbs interface
4: to automatically generate the uucp commands to download new
5: Contents files. This does NOT invoke uucico.
6:
7: This is called by main after parsing the command line options.
8:
9: #include "contents.h"
10: #include <stdio.h>
11:
12: update_contents()
13: {
14: char up_con_file[65];
15:
16: strcpy(up_con_file,"");
17: sprintf(up_con_file,"%s%s%s%s",HOST,PATHNAME,CONTENT1,RECEIVER);
18: system(up_con_file);
19:
20: strcpy(up_con_file,"");
21: sprintf(up_con_file,"%s%s%s%s",HOST,PATHNAME,CONTENT2,RECEIVER);
22: system(up_con_file);
23:
24: strcpy(up_con_file,"");
25: sprintf(up_con_file,"%s%s%s%s",HOST,PATHNAME,CONTENT3,RECEIVER);
26: system(up_con_file);
27:
28: strcpy(up_con_file,"");
29: sprintf(up_con_file,"%s%s%s%s",HOST,PATHNAME,CONTENT4,RECEIVER);
30: system(up_con_file);
31:
32: return;
33: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.