DocumentationGenerated on Thu Aug 31 00:02:29 2006 |
||
Data.hGo to the documentation of this file.00001 00002 // $Id: Data.h,v 1.11 2005/07/11 20:23:12 klas Exp $ 00003 // 00004 // Usage: Data class. inherited from Connection, everything pertaining to 00005 // data connection goes here. 00006 // 00007 // A part of babyftpd, licensed under the GNU GPL, see the file 00008 // LICENSE for complete information. 00010 00011 #ifndef DATA_H 00012 #define DATA_H 00013 00014 #ifdef DATA_CPP 00015 #include "generic.h" 00016 #include "Utilities.h" 00017 #include "Configuration.h" 00018 #include "Log.h" 00019 #include "Connection.h" 00020 #include "User.h" 00021 #endif // DATA_CPP 00022 00023 class Data : public Connection 00024 { 00025 private: 00026 void open_active(); 00027 void open_passive(); 00028 public: 00029 User *user; 00030 Data(User *user, int file_id = -1, string file_name = "", 00031 int trans_type = 0); 00032 ~Data(); 00033 MEMBER(trans_type, int); 00034 MEMBER(file_id, int); 00035 MEMBER(file_name, string); 00036 }; 00037 00038 void kill_data(void*); 00039 00040 extern pthread_key_t my_data; 00041 00042 #endif // DATA_H |
- Copyright © 2005, BabyFTPd
- Powered by: