repo.or.cz
/
newos.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Move all of the files in include/libc/... down to the top level include path.
[newos.git]
/
apps
/
irc
/
ircreader.h
blob
de185c48cc923f5d2a83d2e43d573ba7a3456a3a
1
#ifndef _IRCREADER_H
2
#define _IRCREADER_H
3
4
class
IRCEngine
;
5
6
class
IRCReader
{
7
public
:
8
IRCReader
(
int
socket
,
IRCEngine
*
engine
);
9
virtual
~
IRCReader
();
10
11
int
Start
();
12
13
private
:
14
int
Run
();
15
static int
ThreadEntry
(
void
*
args
);
16
int
mSocket
;
17
IRCEngine
*
mEngine
;
18
thread_id mReaderThread
;
19
20
char
mBuf
[
4096
];
21
int
mBufPos
;
22
};
23
24
#endif
25