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
98f7177f
Commit
98f7177f
authored
Oct 18, 2008
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input_stream: don't declare method typedefs
The typedefs aren't using by anybody but struct input_stream. Remove them and declare the method type within struct input_stream.
parent
1dfe9205
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
14 deletions
+8
-14
inputStream.h
src/inputStream.h
+8
-14
No files found.
src/inputStream.h
View file @
98f7177f
...
...
@@ -23,14 +23,6 @@
typedef
struct
input_stream
InputStream
;
typedef
int
(
*
InputStreamSeekFunc
)
(
struct
input_stream
*
inStream
,
long
offset
,
int
whence
);
typedef
size_t
(
*
InputStreamReadFunc
)
(
struct
input_stream
*
inStream
,
void
*
ptr
,
size_t
size
);
typedef
int
(
*
InputStreamCloseFunc
)
(
struct
input_stream
*
inStream
);
typedef
int
(
*
InputStreamAtEOFFunc
)
(
struct
input_stream
*
inStream
);
typedef
int
(
*
InputStreamBufferFunc
)
(
struct
input_stream
*
inStream
);
struct
input_stream
{
int
ready
;
...
...
@@ -40,12 +32,14 @@ struct input_stream {
char
*
mime
;
int
seekable
;
/* don't touc this stuff */
InputStreamSeekFunc
seekFunc
;
InputStreamReadFunc
readFunc
;
InputStreamCloseFunc
closeFunc
;
InputStreamAtEOFFunc
atEOFFunc
;
InputStreamBufferFunc
bufferFunc
;
int
(
*
seekFunc
)(
struct
input_stream
*
inStream
,
long
offset
,
int
whence
);
size_t
(
*
readFunc
)(
struct
input_stream
*
inStream
,
void
*
ptr
,
size_t
size
);
int
(
*
closeFunc
)(
struct
input_stream
*
inStream
);
int
(
*
atEOFFunc
)(
struct
input_stream
*
inStream
);
int
(
*
bufferFunc
)(
struct
input_stream
*
inStream
);
void
*
data
;
char
*
metaName
;
char
*
metaTitle
;
...
...
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