summaryrefslogtreecommitdiffabout
path: root/pumpkin/SendXFer.h
Unidiff
Diffstat (limited to 'pumpkin/SendXFer.h') (more/less context) (ignore whitespace changes)
-rw-r--r--pumpkin/SendXFer.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/pumpkin/SendXFer.h b/pumpkin/SendXFer.h
new file mode 100644
index 0000000..787a1b9
--- a/dev/null
+++ b/pumpkin/SendXFer.h
@@ -0,0 +1,16 @@
1#import <Cocoa/Cocoa.h>
2#import "TFTPPacket.h"
3#import "PumpKIN.h"
4#import "XFer.h"
5
6#include <netinet/in.h>
7
8@interface SendXFer : XFer {
9}
10
11-(SendXFer*)initWithPeer:(struct sockaddr_in *)sin andPacket:(TFTPPacket*)p;
12-(SendXFer*)initWithLocalFile:(NSString *)lf peerAddress:(const struct sockaddr_in *)pa remoteFile:(NSString *)rf xferType:(NSString *)xt blockSize:(uint16_t)bs andTimeout:(int)to;
13
14-(void)xfer;
15
16@end