/*++ Copyright (c) 1994 Microsoft Corporation Module Name: ftpcatp.h Abstract: (Precompiled) Header file for ftpcat Author: Richard L Firth (rfirth) 03-Nov-1995 Revision History: 03-Nov-1995 rfirth Created --*/ #include #include #include #include #include #include #include #include #include #include #include #include #ifdef UNICODE #include #define lstrtok(s,t) wcstok((s),(t)) #define lstrchr(s,c) wcschr((s),(c)) #define lstrdup(s) wcsdup((s)) #define lprintf wprintf #else #include #define lstrtok(s,t) strtok((s),(t)) #define lstrchr(s,c) strchr((s),(c)) #define lstrdup(s) _strdup((s)) #define lprintf printf #endif // UNICODE #define nelems(a) ((sizeof(a))/sizeof((a)[0])) extern DWORD GetProcessHandleCount(void); // // manifests // #define FTPCAT_CONNECT_CONTEXT 0x1 #define FTPCAT_FIND_CONTEXT 0x2 #define FTPCAT_FILE_CONTEXT 0x3 #define FTPCAT_GET_CONTEXT 0x4 #define FTPCAT_PUT_CONTEXT 0x5 #define FTPCAT_COMMAND_CONTEXT 0x6 #define FTPCAT_OPEN_CONTEXT 0x7 // // prototypes // // // ftpcat.c // void my_callback(HINTERNET, DWORD, DWORD, LPVOID, DWORD); void close_handle(HINTERNET); // // cmds.c // void get_response(HINTERNET hFtpSession);