From d439bc3807b3f7cea0544899ee5fc8d849bf32df Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Wed, 2 Aug 2000 18:26:29 +0000 Subject: 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. --- plpftp/ftp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plpftp/ftp.h') 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 -- cgit v1.2.3