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
523f89cc
Commit
523f89cc
authored
Aug 24, 2011
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input/curl: remove obsolete function input_curl_reinit()
parent
0575a6d6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
21 deletions
+0
-21
curl_input_plugin.c
src/input/curl_input_plugin.c
+0
-12
curl_input_plugin.h
src/input/curl_input_plugin.h
+0
-8
rewind_input_plugin.c
src/input/rewind_input_plugin.c
+0
-1
No files found.
src/input/curl_input_plugin.c
View file @
523f89cc
...
@@ -711,18 +711,6 @@ input_curl_easy_init(struct input_curl *c, GError **error_r)
...
@@ -711,18 +711,6 @@ input_curl_easy_init(struct input_curl *c, GError **error_r)
return
true
;
return
true
;
}
}
void
input_curl_reinit
(
struct
input_stream
*
is
)
{
struct
input_curl
*
c
=
(
struct
input_curl
*
)
is
;
assert
(
c
->
base
.
plugin
==
&
input_plugin_curl
);
assert
(
c
->
easy
!=
NULL
);
curl_easy_setopt
(
c
->
easy
,
CURLOPT_WRITEHEADER
,
is
);
curl_easy_setopt
(
c
->
easy
,
CURLOPT_WRITEDATA
,
is
);
}
static
bool
static
bool
input_curl_send_request
(
struct
input_curl
*
c
,
GError
**
error_r
)
input_curl_send_request
(
struct
input_curl
*
c
,
GError
**
error_r
)
{
{
...
...
src/input/curl_input_plugin.h
View file @
523f89cc
...
@@ -24,12 +24,4 @@ struct input_stream;
...
@@ -24,12 +24,4 @@ struct input_stream;
extern
const
struct
input_plugin
input_plugin_curl
;
extern
const
struct
input_plugin
input_plugin_curl
;
/**
* This is a workaround for an input_stream API deficiency; after
* exchanging the input_stream pointer in input_rewind_open(), this
* function is called to reinitialize CURL's data pointers.
*/
void
input_curl_reinit
(
struct
input_stream
*
is
);
#endif
#endif
src/input/rewind_input_plugin.c
View file @
523f89cc
...
@@ -19,7 +19,6 @@
...
@@ -19,7 +19,6 @@
#include "config.h"
#include "config.h"
#include "input/rewind_input_plugin.h"
#include "input/rewind_input_plugin.h"
#include "input/curl_input_plugin.h"
#include "input_plugin.h"
#include "input_plugin.h"
#include "tag.h"
#include "tag.h"
...
...
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