Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
f0789fcd
Commit
f0789fcd
authored
Mar 15, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* httpd: begin to support get/post method (look at admin.html ;)
parent
fcbf0b13
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
292 additions
and
29 deletions
+292
-29
include/httpd.h
include/httpd.h
+4
-3
modules/misc/httpd.c
modules/misc/httpd.c
+288
-26
No files found.
include/httpd.h
View file @
f0789fcd
...
...
@@ -2,7 +2,7 @@
* httpd.h
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id: httpd.h,v 1.
3 2003/03/06 11:09:56
fenrir Exp $
* $Id: httpd.h,v 1.
4 2003/03/15 00:09:31
fenrir Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -30,7 +30,7 @@ typedef struct httpd_file_t httpd_file_t;
typedef
httpd_file_t
httpd_stream_t
;
typedef
struct
httpd_file_callback_args_t
httpd_file_callback_args_t
;
typedef
int
(
*
httpd_file_callback
)(
httpd_file_callback_args_t
*
p_args
,
uint8_t
**
pp_data
,
int
*
pi_data
);
typedef
int
(
*
httpd_file_callback
)(
httpd_file_callback_args_t
*
p_args
,
uint8_t
*
p_request
,
int
i_request
,
uint8_t
*
*
pp_data
,
int
*
pi_data
);
typedef
struct
httpd_sys_t
httpd_sys_t
;
...
...
@@ -47,7 +47,8 @@ struct httpd_t
httpd_file_t
*
(
*
pf_register_file
)
(
httpd_t
*
,
char
*
psz_file
,
char
*
psz_mime
,
char
*
psz_user
,
char
*
psz_password
,
httpd_file_callback
pf_fill
,
httpd_file_callback
pf_get
,
httpd_file_callback
pf_post
,
httpd_file_callback_args_t
*
p_args
);
void
(
*
pf_unregister_file
)
(
httpd_t
*
,
httpd_file_t
*
);
...
...
modules/misc/httpd.c
View file @
f0789fcd
This diff is collapsed.
Click to expand it.
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