Changeset 21864 in vbox for trunk/src/VBox/Devices/Network/slirp/libalias/alias_ftp.c
- Timestamp:
- Jul 29, 2009 2:09:25 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/libalias/alias_ftp.c
r20958 r21864 150 150 mod_handler(module_t mod, int type, void *data) 151 151 #else 152 static int ftp_alias_handler( int type);152 static int ftp_alias_handler(PNATState pData, int type); 153 153 154 154 int 155 ftp_alias_load( void)156 { 157 return ftp_alias_handler( MOD_LOAD);155 ftp_alias_load(PNATState pData) 156 { 157 return ftp_alias_handler(pData, MOD_LOAD); 158 158 } 159 159 160 160 int 161 ftp_alias_unload( void)162 { 163 return ftp_alias_handler( MOD_UNLOAD);161 ftp_alias_unload(PNATState pData) 162 { 163 return ftp_alias_handler(pData, MOD_UNLOAD); 164 164 } 165 165 static int 166 ftp_alias_handler( int type)166 ftp_alias_handler(PNATState pData, int type) 167 167 #endif 168 168 { … … 180 180 case MOD_LOAD: 181 181 error = 0; 182 #ifdef VBOX 183 LibAliasAttachHandlers(pData, handlers); 184 #else 182 185 LibAliasAttachHandlers(handlers); 186 #endif 183 187 break; 184 188 case MOD_UNLOAD: 185 189 error = 0; 190 #ifdef VBOX 191 LibAliasDetachHandlers(pData, handlers); 192 #else 186 193 LibAliasDetachHandlers(handlers); 194 #endif 187 195 break; 188 196 default:
Note:
See TracChangeset
for help on using the changeset viewer.