mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine kernel buffer. complete the utest for buffer.
This commit is contained in:
parent
8992e217a9
commit
94cf0c1069
15 changed files with 218 additions and 37 deletions
|
@ -78,8 +78,8 @@ public:
|
|||
virtual bool is_never_timeout(int64_t timeout_us) = 0;
|
||||
// for handshake.
|
||||
public:
|
||||
virtual int read_fully(const void* buf, size_t size, ssize_t* nread) = 0;
|
||||
virtual int write(const void* buf, size_t size, ssize_t* nwrite) = 0;
|
||||
virtual int read_fully(void* buf, size_t size, ssize_t* nread) = 0;
|
||||
virtual int write(void* buf, size_t size, ssize_t* nwrite) = 0;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue