-
Notifications
You must be signed in to change notification settings - Fork 0
/
proto.h
executable file
·52 lines (44 loc) · 1.61 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
/****************************************************************************************
* PROJECT: FAME-FTPd
* FILE: proto.h
* PURPOSE: Prototype definitions
* CREATED: 05-MAY-2003
* MODIFIED: 21-JAN-2004
* AUTHOR: Sascha 'SieGeL' Pfalz
****************************************************************************************/
/*
* Protos in main.c
*/
extern void ClosLibs(void);
extern char *_ProgramName;
extern void fail(long iocode, char *errstring, ...);
/*
* Protos in support.c
*/
extern void DebugLog(char *fmt, ...);
extern STRPTR tcp_error(int error);
extern int readline(int fd, char *bufptr, size_t len);
extern int usprintf(LONG s,short stripflag, char *fmt,...);
extern void CutCRLF(char *s);
extern int usputc(LONG s,char c);
extern BOOL __regargs FormatStamp(struct DateStamp *Stamp,STRPTR DateBuffer,struct Locale *loc,BOOL listdate);
extern void ConvertSpaces(char *s);
extern long GetFileSize(char *fpath);
extern long GetFileSizeFH(BPTR fh);
extern long DNSLookUp(struct sockaddr_in *, STRPTR name);
extern void WeektopStats(void);
/*
* Protos in famesupport.c
*/
extern long RetrieveFAMEInfos(void);
extern BOOL ValidateFAMEUser(char *user,char *pass,struct FTP *ftp);
extern void FreeConferenceList(void);
extern BOOL AddFileToUList(char *fullname, long fsize, long cnum,struct FTP *ftp, char *tempname);
extern BOOL CheckForDoubles(char *fullname, long confnum);
extern long GetConfNumber(char *confname);
extern BOOL CheckIfOnline(long unumcheck);
/*
* Protos in MakeArray.c
*/
extern char **MakeArray (char *s,char sep);
extern void FreeArray (char **strings);