repo.or.cz
/
rofl0r-rocksock.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
examples/portscanner: quick hack to make it work on single host/portrange
[rofl0r-rocksock.git]
/
rocksockserver_set_signalfd.c
blob
772dfdeb7b7e408ab0fc2a0a799407c1c9243c4b
1
#include
"rocksockserver.h"
2
// pass the reading end of a pipe
3
void
rocksockserver_set_signalfd
(
rocksockserver
*
srv
,
int
signalfd
) {
4
srv
->
signalfd
=
signalfd
;
5
rocksockserver_watch_fd
(
srv
,
signalfd
);
6
}