Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
8c490ccf
Commit
8c490ccf
authored
Dec 16, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
https: move some documentation to header file
parent
bb931e14
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
12 deletions
+15
-12
modules/access/http/transport.c
modules/access/http/transport.c
+0
-12
modules/access/http/transport.h
modules/access/http/transport.h
+15
-0
No files found.
modules/access/http/transport.c
View file @
8c490ccf
...
...
@@ -36,13 +36,6 @@
#include "transport.h"
/**
* Receives TLS data.
*
* Receives bytes from the peer through a TLS session.
* @note This may be a cancellation point.
* The caller is responsible for serializing reads on a given connection.
*/
ssize_t
vlc_https_recv
(
vlc_tls_t
*
tls
,
void
*
buf
,
size_t
len
)
{
struct
pollfd
ufd
;
...
...
@@ -99,11 +92,6 @@ ssize_t vlc_http_recv(int fd, void *buf, size_t len)
return
count
;
}
/**
* Sends bytes to a connection.
* @note This may be a cancellation point.
* The caller is responsible for serializing writes on a given connection.
*/
ssize_t
vlc_https_send
(
vlc_tls_t
*
tls
,
const
void
*
buf
,
size_t
len
)
{
struct
pollfd
ufd
;
...
...
modules/access/http/transport.h
View file @
8c490ccf
...
...
@@ -28,8 +28,23 @@ struct vlc_tls;
struct
vlc_tls_creds
;
ssize_t
vlc_http_recv
(
int
fd
,
void
*
buf
,
size_t
len
);
/**
* Receives TLS data.
*
* Receives bytes from the peer through a TLS session.
* @note This may be a cancellation point.
* The caller is responsible for serializing reads on a given connection.
*/
ssize_t
vlc_https_recv
(
struct
vlc_tls
*
tls
,
void
*
buf
,
size_t
len
);
ssize_t
vlc_http_send
(
int
fd
,
const
void
*
buf
,
size_t
len
);
/**
* Sends bytes to a connection.
* @note This may be a cancellation point.
* The caller is responsible for serializing writes on a given connection.
*/
ssize_t
vlc_https_send
(
struct
vlc_tls
*
tls
,
const
void
*
buf
,
size_t
len
);
struct
vlc_tls
*
vlc_https_connect
(
struct
vlc_tls_creds
*
creds
,
...
...
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