Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
bf3c1e18
Commit
bf3c1e18
authored
Mar 24, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb -
more compiler warnings... storage/ndb/include/util/InputStream.hpp: more warnings
parent
6c9618d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
storage/ndb/include/util/InputStream.hpp
storage/ndb/include/util/InputStream.hpp
+3
-0
No files found.
storage/ndb/include/util/InputStream.hpp
View file @
bf3c1e18
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
*/
*/
class
InputStream
{
class
InputStream
{
public:
public:
virtual
~
InputStream
()
{}
virtual
char
*
gets
(
char
*
buf
,
int
bufLen
)
=
0
;
virtual
char
*
gets
(
char
*
buf
,
int
bufLen
)
=
0
;
};
};
...
@@ -32,6 +33,7 @@ class FileInputStream : public InputStream {
...
@@ -32,6 +33,7 @@ class FileInputStream : public InputStream {
FILE
*
f
;
FILE
*
f
;
public:
public:
FileInputStream
(
FILE
*
file
=
stdin
);
FileInputStream
(
FILE
*
file
=
stdin
);
virtual
~
FileInputStream
()
{}
char
*
gets
(
char
*
buf
,
int
bufLen
);
char
*
gets
(
char
*
buf
,
int
bufLen
);
};
};
...
@@ -42,6 +44,7 @@ class SocketInputStream : public InputStream {
...
@@ -42,6 +44,7 @@ class SocketInputStream : public InputStream {
unsigned
m_timeout
;
unsigned
m_timeout
;
public:
public:
SocketInputStream
(
NDB_SOCKET_TYPE
socket
,
unsigned
readTimeout
=
1000
);
SocketInputStream
(
NDB_SOCKET_TYPE
socket
,
unsigned
readTimeout
=
1000
);
virtual
~
SocketInputStream
()
{}
char
*
gets
(
char
*
buf
,
int
bufLen
);
char
*
gets
(
char
*
buf
,
int
bufLen
);
};
};
...
...
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