ReactOS 0.4.16-dev-297-gc569aee
tftp_client.h File Reference
Include dependency graph for tftp_client.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  tftp_transfer_mode { TFTP_MODE_OCTET , TFTP_MODE_NETASCII , TFTP_MODE_BINARY }
 

Functions

err_t tftp_init_client (const struct tftp_context *ctx)
 
err_t tftp_get (void *handle, const ip_addr_t *addr, u16_t port, const char *fname, enum tftp_transfer_mode mode)
 
err_t tftp_put (void *handle, const ip_addr_t *addr, u16_t port, const char *fname, enum tftp_transfer_mode mode)
 

Detailed Description

TFTP client header

Definition in file tftp_client.h.

Enumeration Type Documentation

◆ tftp_transfer_mode

Enumerator
TFTP_MODE_OCTET 
TFTP_MODE_NETASCII 
TFTP_MODE_BINARY 

Definition at line 40 of file tftp_client.h.

40 {
43 TFTP_MODE_BINARY /* used in old versions only */
44};
@ TFTP_MODE_NETASCII
Definition: tftp_client.h:42
@ TFTP_MODE_OCTET
Definition: tftp_client.h:41
@ TFTP_MODE_BINARY
Definition: tftp_client.h:43

Function Documentation

◆ tftp_get()

err_t tftp_get ( void handle,
const ip_addr_t addr,
u16_t  port,
const char fname,
enum tftp_transfer_mode  mode 
)

◆ tftp_init_client()

err_t tftp_init_client ( const struct tftp_context ctx)

◆ tftp_put()

err_t tftp_put ( void handle,
const ip_addr_t addr,
u16_t  port,
const char fname,
enum tftp_transfer_mode  mode 
)