Debian Codegraph @

Descent3/mission_download.h

raw symbols SCIP
1 /*
2 * Descent 3
3 * Copyright (C) 2024 Parallax Software
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18 --- HISTORICAL COMMENTS FOLLOW ---
19
20 * $Logfile: /DescentIII/Main/mission_download.h $
21 * $Revision: 5 $
22 * $Date: 3/26/00 10:29p $
23 * $Author: Kevin $
24 *
25 * Mission file downloading system
26 *
27 *
28 * $Log: /DescentIII/Main/mission_download.h $
29 *
30 * 5 3/26/00 10:29p Kevin
31 * MOD Downloader for 1.4 patch.
32 *
33 * 4 4/15/99 1:40a Jeff
34 * changes for linux compile
35 *
36 * 3 12/30/98 12:15p Kevin
37 * Auto Mission Download system
38 *
39 * 2 12/28/98 2:22p Kevin
40 * Initial mission downloading system
41 *
42 * 1 12/28/98 11:42a Kevin
43 *
44 *
45 */
46
47 #define MAX_MISSION_URL_LENcxx . . $ `Descent3/mission_download.h:47:9`! 300
48 #define MAX_MISSION_URL_COUNTcxx . . $ `Descent3/mission_download.h:48:9`! 5
49
50 #define URL_ASK_POLL_TIMEcxx . . $ `Descent3/mission_download.h:50:9`! 2
51
52 extern int Got_urlcxx . . $ Got_url.;
53
54 struct msn_urlscxx . . $ msn_urls# {
55 char msnnamecxx . . $ msn_urls#msnname.[_MAX_PATHcxx . . $ `linux/linux_fix.h:34:9`!];
56 char URLcxx . . $ msn_urls#URL.[MAX_MISSION_URL_COUNTcxx . . $ `Descent3/mission_download.h:48:9`!][MAX_MISSION_URL_LENcxx . . $ `Descent3/mission_download.h:47:9`!];
57 // Possibly some quality of service flags
58 };
59
60 // Function prototypes
61 void msn_DoAskForURLcxx . . $ msn_DoAskForURL(b4ed6bda213be74).(uint8_tcxx . . $ uint8_t# *indata, network_addresscxx . . $ network_address# *net_addr);
62 void msn_DoCurrMsnURLscxx . . $ msn_DoCurrMsnURLs(b4ed6bda213be74).(uint8_tcxx . . $ uint8_t# *data, network_addresscxx . . $ network_address# *net_addr);
63 int msn_CheckGetMissioncxx . . $ msn_CheckGetMission(aa7cc0aa9d631463).(network_addresscxx . . $ network_address# *net_addr, char *filename);
64 int msn_ShowDownloadChoicescxx . . $ msn_ShowDownloadChoices(276ae1968d51ebb).(msn_urlscxx . . $ msn_urls# *urls);
65 int msn_DownloadWithStatuscxx . . $ msn_DownloadWithStatus(e99f026884c896d5).(char *url, char *filename);
66 void msn_ClipURLToWidthcxx . . $ msn_ClipURLToWidth(577809987ad7a468).(int width, char *string);
67 char *msn_SecondsToStringcxx . . $ msn_SecondsToString(ff224f080444ee45).(int time_sec);
68
69 int ModDownloadWithStatuscxx . . $ ModDownloadWithStatus(e99f026884c896d5).(char *url, char *filename);
70 int CheckGetD3Mcxx . . $ CheckGetD3M(1ef8e6ec083aabb9).(char *d3m);