12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- #ifndef VSFTP_NETSTR_H
- #define VSFTP_NETSTR_H
- struct mystr;
- struct vsf_session;
- typedef int (*str_netfd_read_t)(struct vsf_session*
- p_sess, char*,
- unsigned int);
- int str_netfd_alloc(struct vsf_session* p_sess,
- struct mystr* p_str,
- char term,
- char* p_readbuf,
- unsigned int maxlen,
- str_netfd_read_t p_peekfunc,
- str_netfd_read_t p_readfunc);
- int str_netfd_read(struct mystr* p_str, int fd, unsigned int len);
- int str_netfd_write(const struct mystr* p_str, int fd);
- #endif
|