#include <stddef.h>
#include <stdint.h>
#include <sys/socket.h>
#include <rpc2/se.h>
Go to the source code of this file.
|
| uint64_t | tcpftp_reglen (const struct SFTP_Descriptor *d, int role, uint64_t size) |
| |
| int | tcpftp_register_local (struct TcpFtpState *st, const struct sockaddr *peer, socklen_t plen, struct SFTP_Descriptor *d, int role, uint64_t in_cookie, uint64_t *out_cookie) |
| |
| long | tcpftp_finalize (struct TcpFtpState *st, struct SFTP_Descriptor *d, uint64_t cookie, int nowait) |
| |
| size_t | tcpftp_param_blocksize (void) |
| |
| int | tcpftp_pack_param_block (const uint64_t *cookie, unsigned char *buf, size_t maxlen, size_t *wrote) |
| |
| int | tcpftp_unpack_param_block (const unsigned char *buf, size_t len, uint64_t *cookie) |
| |
| long | TCPFTP_Activate (void) |
| |
◆ TCPFTP_ROLE_SINK
◆ TCPFTP_ROLE_SOURCE
◆ TCPFTP_Activate()
| long TCPFTP_Activate |
( |
void |
| ) |
|
◆ tcpftp_finalize()
◆ tcpftp_pack_param_block()
| int tcpftp_pack_param_block |
( |
const uint64_t * |
cookie, |
|
|
unsigned char * |
buf, |
|
|
size_t |
maxlen, |
|
|
size_t * |
wrote |
|
) |
| |
◆ tcpftp_param_blocksize()
| size_t tcpftp_param_blocksize |
( |
void |
| ) |
|
◆ tcpftp_register_local()
| int tcpftp_register_local |
( |
struct TcpFtpState * |
st, |
|
|
const struct sockaddr * |
peer, |
|
|
socklen_t |
plen, |
|
|
struct SFTP_Descriptor * |
d, |
|
|
int |
role, |
|
|
uint64_t |
in_cookie, |
|
|
uint64_t * |
out_cookie |
|
) |
| |
◆ tcpftp_reglen()
| uint64_t tcpftp_reglen |
( |
const struct SFTP_Descriptor * |
d, |
|
|
int |
role, |
|
|
uint64_t |
size |
|
) |
| |
◆ tcpftp_unpack_param_block()
| int tcpftp_unpack_param_block |
( |
const unsigned char * |
buf, |
|
|
size_t |
len, |
|
|
uint64_t * |
cookie |
|
) |
| |