Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
081b18a1
Commit
081b18a1
authored
Oct 22, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Privatize httpd_MsgInit and httpd_MsgClean
parent
fa8f4854
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
14 deletions
+2
-14
include/vlc_httpd.h
include/vlc_httpd.h
+0
-2
src/libvlccore.sym
src/libvlccore.sym
+0
-2
src/network/httpd.c
src/network/httpd.c
+2
-10
No files found.
include/vlc_httpd.h
View file @
081b18a1
...
...
@@ -140,10 +140,8 @@ VLC_EXPORT( int, httpd_StreamSend, ( httpd_stream_t *, uint8_t *p
/* Msg functions facilities */
VLC_EXPORT
(
void
,
httpd_MsgInit
,
(
httpd_message_t
*
)
);
VLC_EXPORT
(
void
,
httpd_MsgAdd
,
(
httpd_message_t
*
,
const
char
*
psz_name
,
const
char
*
psz_value
,
...
)
LIBVLC_FORMAT
(
3
,
4
)
);
/* return "" if not found. The string is not allocated */
VLC_EXPORT
(
const
char
*
,
httpd_MsgGet
,
(
const
httpd_message_t
*
,
const
char
*
psz_name
)
);
VLC_EXPORT
(
void
,
httpd_MsgClean
,
(
httpd_message_t
*
)
);
#endif
/* _VLC_HTTPD_H */
src/libvlccore.sym
View file @
081b18a1
...
...
@@ -130,9 +130,7 @@ httpd_HandlerNew
httpd_HostDelete
httpd_HostNew
httpd_MsgAdd
httpd_MsgClean
httpd_MsgGet
httpd_MsgInit
httpd_RedirectDelete
httpd_RedirectNew
httpd_ServerIP
...
...
src/network/httpd.c
View file @
081b18a1
...
...
@@ -1308,7 +1308,7 @@ void httpd_UrlDelete( httpd_url_t *url )
vlc_mutex_unlock
(
&
host
->
lock
);
}
void
httpd_MsgInit
(
httpd_message_t
*
msg
)
static
void
httpd_MsgInit
(
httpd_message_t
*
msg
)
{
msg
->
cl
=
NULL
;
msg
->
i_type
=
HTTPD_MSG_NONE
;
...
...
@@ -1332,7 +1332,7 @@ void httpd_MsgInit( httpd_message_t *msg )
msg
->
p_body
=
NULL
;
}
void
httpd_MsgClean
(
httpd_message_t
*
msg
)
static
void
httpd_MsgClean
(
httpd_message_t
*
msg
)
{
int
i
;
...
...
@@ -2700,10 +2700,6 @@ httpd_stream_t *httpd_StreamNew( httpd_host_t *host,
return
NULL
;
}
void
httpd_MsgInit
(
httpd_message_t
*
a
)
{
}
void
httpd_MsgAdd
(
httpd_message_t
*
a
,
const
char
*
b
,
const
char
*
c
,
...
)
{
}
...
...
@@ -2713,8 +2709,4 @@ const char *httpd_MsgGet( const httpd_message_t *msg, const char *name )
return
""
;
}
void
httpd_MsgClean
(
httpd_message_t
*
a
)
{
}
#endif
/* ENABLE_HTTPD */
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