Searched defs:file_cookie (Results 1 - 5 of 5) sorted by relevance

/fuchsia/zircon/system/host/netprotocol/
H A Dnetcp.c49 static ssize_t file_open_read(const char* filename, void* file_cookie) { argument
65 static tftp_status file_open_write(const char* filename, size_t size, void* file_cookie) { argument
76 static tftp_status file_read(void* data, size_t* length, off_t offset, void* file_cookie) { argument
86 static tftp_status file_write(const void* data, size_t* length, off_t offset, void* file_cookie) { argument
96 static void file_close(void* file_cookie) { argument
[all...]
/fuchsia/zircon/system/ulib/tftp/
H A Dtftp-example.c162 ssize_t open_read_file(const char* filename, void* file_cookie) { argument
179 tftp_status open_write_file(const char* filename, size_t size, void* file_cookie) { argument
192 tftp_status read_file(void* data, size_t* length, off_t offset, void* file_cookie) { argument
203 tftp_status write_file(const void* data, size_t* length, off_t offset, void* file_cookie) { argument
216 void close_file(void* file_cookie) { argument
228 struct tftp_file file_cookie; local
249 struct tftp_file file_cookie; local
[all...]
H A Dtftp-file-test.cpp74 ssize_t file_open_read(const char* filename, void* file_cookie) { argument
133 void file_close(void* file_cookie) { argument
82 file_open_write(const char* filename, size_t size, void* file_cookie) argument
96 file_read(void* data, size_t* length, off_t offset, void* file_cookie) argument
118 file_write(const void* data, size_t* length, off_t offset, void* file_cookie) argument
H A Dtftp.c1023 tftp_timeout(tftp_session* session, void* msg_buf, size_t* msg_len, size_t buf_sz, uint32_t* timeout_ms, void* file_cookie) argument
1068 tftp_msg_loop(tftp_session* session, void* transport_cookie, void* file_cookie, tftp_msg_loop_opts* opts, uint32_t timeout_ms) argument
1162 transfer_file(tftp_session* session, void* transport_cookie, void* file_cookie, tftp_file_direction xfer_direction, const char* local_filename, const char* remote_filename, tftp_request_opts* opts) argument
1235 tftp_push_file(tftp_session* session, void* transport_cookie, void* file_cookie, const char* local_filename, const char* remote_filename, tftp_request_opts* opts) argument
1245 tftp_pull_file(tftp_session* session, void* transport_cookie, void* file_cookie, const char* local_filename, const char* remote_filename, tftp_request_opts* opts) argument
1255 tftp_service_request(tftp_session* session, void* transport_cookie, void* file_cookie, tftp_handler_opts* opts) argument
1277 tftp_handle_msg(tftp_session* session, void* transport_cookie, void* file_cookie, tftp_handler_opts* opts) argument
[all...]
H A Dtftp-test.cpp743 tftp_status mock_open_write(const char* filename, size_t size, void* file_cookie) { argument

Completed in 95 milliseconds