aboutsummaryrefslogtreecommitdiffstats
path: root/plpftp/ftp.h
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2000-08-02 18:26:29 +0000
committerFritz Elfert <felfert@to.com>2000-08-02 18:26:29 +0000
commitd439bc3807b3f7cea0544899ee5fc8d849bf32df (patch)
tree5c28e89d19cc8c5cf7759dc4ae0082e21151fe0a /plpftp/ftp.h
parent83757d37b7cfb7ef6da178a26b9a203d1b65e0af (diff)
downloadplptools-d439bc3807b3f7cea0544899ee5fc8d849bf32df.tar.gz
plptools-d439bc3807b3f7cea0544899ee5fc8d849bf32df.tar.bz2
plptools-d439bc3807b3f7cea0544899ee5fc8d849bf32df.zip
Added a wrapper for enums and changed all return-code related stuff
as well as some other enums to use that instead of plain enums. This results in stronger type checking, range checking and the ability to write an enum's textual representation.
Diffstat (limited to 'plpftp/ftp.h')
-rw-r--r--plpftp/ftp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plpftp/ftp.h b/plpftp/ftp.h
index a89fd62..86c3d42 100644
--- a/plpftp/ftp.h
+++ b/plpftp/ftp.h
@@ -26,8 +26,9 @@
#define _ftp_h_
#include "bool.h"
+#include "rfsv.h"
+#include "Enum.h"
-class rfsv;
class rpcs;
class bufferStore;
class bufferArray;
@@ -47,7 +48,6 @@ class ftp {
void getUnixDir(bufferArray & files);
void resetUnixPwd();
void usage();
- void errprint(long errcode, rfsv & a);
void cd(const char *source, const char *cdto, char *dest);
// MJG: note, this isn't actually used anywhere