-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproto.h
executable file
·73 lines (51 loc) · 2.97 KB
/
proto.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/*
* --- All Prototypes used by mEGA-vIEW.FIM ---
*/
// --- Protos defined in main.o ---
extern void ShowMyTitle(BOOL);
extern void wb(char *);
// --- Protos defined in Preferences.o ---
extern void ReadSettings(void);
// --- Protos defined in Support.o ---
extern long MyDeleteFile(char *was); // Sets the deleted flag and removes the file
extern void ConvertStrings(UBYTE*,UBYTE*,BOOL); // Convert dates via locale
extern void CutSpaces(char *s);
extern BOOL CheckSpecialChars(char *testline);
extern BOOL AddDlPath(char *path);
extern void FreeDlPathes(void);
extern BOOL CheckForPattern(char *,char *);
extern LONG TestTheFile(char *); // Checks file for restricted etc.
extern BOOL Get_Key(BOOL); // Wait for User-Input
extern void PrintDosError(char *,long,BOOL,BOOL); // General DosError exit function
extern void CreateTempDir(void); // Creates global Tempdir
extern void RemoveTempDir(void); // Removes global tempdir
extern BOOL CheckPacker(char *,BOOL); // Check for programs
extern long MyExecute(char *cmd); // Executes the cmd string via PIPE:
extern void MyCutANSI(char *e); // Enhanced CutAnsi() routine
extern BOOL AskBool(char *, BOOL); // General Yes/No ask function
extern long CheckForCTRL(void); // Checks for CTRL-C
extern void GetFileID(char *fullpath,long sel); // Extracts FileID.diz from DMS/Exe
extern BOOL AddFileType(char *extension, char *cmd); // Adds External Filetype to List (V3.3)
extern void FreeFileTypes(void); // Frees list of external filetypes (V3.3)
extern long NC_GetString( char*, long );
extern long PutCom( char*, long, long, ULONG, long );
extern long GetCom( char*, long, long, ULONG, long );
// --- Protos defined in IdentifyFile.o ---
extern void IdentifyFile(char *); // Performs action according to type
extern void GetBBSFile(void); // Gets complete path to given file
extern void ShowText(char *); // Main Textdisplay function
extern void ReadMP3(char *fullname); // Shows MP3 Datas (V3.4)
// --- Protos defined in ViewArchive.o ---
extern void ViewArchive(char *,long); // Lists archive contents with userselection
extern void CountIt(void); // The Busy Counter
// --- Protos defined in ExternSupport.o ---
extern long CheckExternal(char *); // Checks File-Extension for unknown files
// --- Protos defined in Reg_Decrypt.o --- // Include only for registered Users
#ifndef PUBLIC_RELEASE
extern VOID __asm Decrypt(register __a0 STRPTR);
extern ULONG __asm CheckRegCRC(register __d2 UWORD); // Currently not working!
#endif
// --- Protos for MakeArray.o ---
extern char **MakeArray (char *s); // Strings auswerten
extern void FreeArray (char **strings); // Strings Freigeben
// extern STRPTR __asm oFormatVarStrRDFA( register __a0 STRPTR SourceBuffer, register __a1 STRPTR DestBuffer, register __a2 struct TagItem *TagList );