libsodium: Needed for Dnscrypto-proxy Release 1.3.0
[tomato.git] / release / src / router / vsftpd / standalone.h
blob9edcfde7a2989eab245be961a557465aea6408ec
1 #ifndef VSF_STANDALONE_H
2 #define VSF_STANDALONE_H
4 struct vsf_client_launch
6 unsigned int num_children;
7 unsigned int num_this_ip;
8 };
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.
16 * RETURNS
17 * Returns a structure representing the current number of clients, and
18 * instances for this IP addresss.
20 struct vsf_client_launch vsf_standalone_main(void);
22 #endif /* VSF_STANDALONE_H */