1 #ifndef VSF_STANDALONE_H 2 #define VSF_STANDALONE_H 3 4 struct vsf_client_launch 5 { 6 unsigned int num_children; 7 unsigned int num_this_ip; 8 }; 9 10 /* vsf_standalone_main() 11 * PURPOSE 12 * This function starts listening on the network for incoming FTP connections. 13 * When it gets one, it returns to the caller in a new process, with file 14 * descriptor 0, 1 and 2 set to the network socket of the new client. 15 * 16 * RETURNS 17 * Returns a structure representing the current number of clients, and 18 * instances for this IP addresss. 19 */ 20 struct vsf_client_launch vsf_standalone_main(void); 21 22 #endif /* VSF_STANDALONE_H */ 23 24