-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbinsplit.h
53 lines (36 loc) · 1.14 KB
/
binsplit.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
/***************************************************************
BayCom(R) Packet-Radio fuer IBM PC
OpenBayCom-Mailbox
-------------------------------
BINSPLIT-Protocol (Definitions)
-------------------------------
Copyright (C) Johann Hanne, DH3MB, [email protected]
Falkenweg 6
D-85122 Hitzhofen
Alle Rechte vorbehalten / All Rights Reserved
***************************************************************/
//19990703 DH3MB Begin of implementation
#ifdef FEATURE_BINSPLIT
#define BS_MAGIC ">BS<"
#define BINSPLIT_SIZE 20000
/*---------------------------------------------------------------------------*/
class fileio_binsplit //: public fileio
{
private:
void putheaderitem(crcthp *, char *, ...);
void putheader(char, char);
char *fname;
unsigned long int fsize;
time_t ftime;
protected:
//struct file_info_t *f;
// void _rx(void);
// void _tx(void);
public:
void tx(void);
// fileio_binsplit(void);
// ~fileio_binsplit(void);
void set_sendname(const char *name);
};
/*---------------------------------------------------------------------------*/
#endif