aboutsummaryrefslogtreecommitdiffstats
path: root/plpftp/ftp.h
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2000-01-17 11:49:41 +0000
committerFritz Elfert <felfert@to.com>2000-01-17 11:49:41 +0000
commitab18114bfd38d4632c66401b5bc079241e27fab3 (patch)
tree14f9c1d5f020cf8ed2f205094ca9e2fc907bb969 /plpftp/ftp.h
parent6eceb82662300bf306e70bd943200665bc3c9bc3 (diff)
downloadplptools-ab18114bfd38d4632c66401b5bc079241e27fab3.tar.gz
plptools-ab18114bfd38d4632c66401b5bc079241e27fab3.tar.bz2
plptools-ab18114bfd38d4632c66401b5bc079241e27fab3.zip
Release of plptools-0.5
Diffstat (limited to 'plpftp/ftp.h')
-rw-r--r--plpftp/ftp.h22
1 files changed, 14 insertions, 8 deletions
diff --git a/plpftp/ftp.h b/plpftp/ftp.h
index 38edf40..a89fd62 100644
--- a/plpftp/ftp.h
+++ b/plpftp/ftp.h
@@ -27,33 +27,39 @@
#include "bool.h"
-class rfsv32;
+class rfsv;
+class rpcs;
class bufferStore;
class bufferArray;
-#define DEFAULT_DRIVE "C:"
-#define DEFAULT_BASE_DIRECTORY "\\"
-
class ftp {
public:
ftp();
~ftp();
- int session(rfsv32 & a, int xargc, char **xargv);
+ int session(rfsv & a, rpcs & r, int xargc, char **xargv);
private:
void getCommand(int &argc, char **argv);
+ void initReadline(void);
// utilities
bool unixDirExists(const char *dir);
void getUnixDir(bufferArray & files);
void resetUnixPwd();
void usage();
- void errprint(long errcode, rfsv32 & a);
+ void errprint(long errcode, rfsv & a);
void cd(const char *source, const char *cdto, char *dest);
- int convertName(const char *orig, char *retVal);
+ // MJG: note, this isn't actually used anywhere
+ int convertName(const char *orig, char *retVal);
+#ifdef HAVE_READLINE
+ char *filename_generator(char *, int);
+ char *command_generator(char *, int);
+ char **do_completion(char *, int, int);
+#endif
+ char defDrive[9];
char localDir[1024];
- char psionDir[1024];
+ // char psionDir[1024];
};
#endif