00001 #ifndef VSF_STANDALONE_H 00002 #define VSF_STANDALONE_H 00003 00004 struct vsf_client_launch 00005 { 00006 unsigned int num_children; 00007 unsigned int num_this_ip; 00008 }; 00009 00010 /* vsf_standalone_main() 00011 * PURPOSE 00012 * This function starts listening on the network for incoming FTP connections. 00013 * When it gets one, it returns to the caller in a new process, with file 00014 * descriptor 0, 1 and 2 set to the network socket of the new client. 00015 * 00016 * RETURNS 00017 * Returns a structure representing the current number of clients, and 00018 * instances for this IP addresss. 00019 */ 00020 struct vsf_client_launch vsf_standalone_main(void); 00021 00022 #endif /* VSF_STANDALONE_H */ 00023