Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
d2eb4df8
Commit
d2eb4df8
authored
Apr 04, 2019
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
event/{Fully,}BufferedSocket: add more API documentation
parent
df33a898
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
BufferedSocket.hxx
src/event/BufferedSocket.hxx
+5
-0
FullyBufferedSocket.hxx
src/event/FullyBufferedSocket.hxx
+5
-0
No files found.
src/event/BufferedSocket.hxx
View file @
d2eb4df8
...
...
@@ -46,6 +46,11 @@ public:
using
SocketMonitor
::
Close
;
private
:
/**
* @return the number of bytes read from the socket, 0 if the
* socket isn't ready for reading, -1 on error (the socket has
* been closed and probably destructed)
*/
ssize_t
DirectRead
(
void
*
data
,
size_t
length
)
noexcept
;
/**
...
...
src/event/FullyBufferedSocket.hxx
View file @
d2eb4df8
...
...
@@ -45,6 +45,11 @@ public:
}
private
:
/**
* @return the number of bytes written to the socket, 0 if the
* socket isn't ready for writing, -1 on error (the socket has
* been closed and probably destructed)
*/
ssize_t
DirectWrite
(
const
void
*
data
,
size_t
length
)
noexcept
;
protected
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment