Home |
Function vf_init Function xn_add_host_table_entry Function xn_delete_host_table_entry Function xn_interface_open_config Function xn_interface_ethernet_statistics Function xn_interface_statistics Function xn_send_ethernet_frame Function cb_wr_screen_string_fnc Function cb_rs232_connection_lost_fnc |
Function vf_initThis function initializes the RTIP-32 internal virtual file system. int vf_init(void); The function returns 0 if successful, otherwise SOCKET_ERROR. If an error occurred, call xn_getlasterror and xn_geterror_string to return the error value. Section Error Codes further describes each error. vf_init must be called once after xn_rtip_init if any RTIP-32 add-on requiring file I/O is being used. This includes the FTP Server, TFTP Client and Server, and the Web Server. The virtual file system is implemented using RTTarget-32's installable file system. By default, it uses RTFiles-32, if linked in; if RTFiles-32 is not linked, RTTarget-32's RAM file system is used.
|