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
rocksockserver: put NO_LOG ifdef logic into macro
[rofl0r-rocksock.git]
/
rocksock_error.c
blob
b470b87b6096762edbe4bde87a95fb5b2289b31b
1
#include
"rocksock.h"
2
3
enum
rs_errorType
rocksock_get_errortype
(
rocksock
*
sock
) {
4
return
sock
->
lasterror
.
errortype
;
5
}
6
7
int
rocksock_get_error
(
rocksock
*
sock
) {
8
return
sock
->
lasterror
.
error
;
9
}
10