Bert Belder
|
1949b8f044
|
afd: use windows (and not winsock) error codes
|
2017-09-04 07:20:59 +02:00 |
|
Bert Belder
|
e967c93dad
|
error: add return_error() and return_success() helper macros
|
2017-09-04 07:20:58 +02:00 |
|
Bert Belder
|
f353ab429e
|
error: add we_set_win_error() and we_clear_win_error() apis
|
2017-09-04 06:37:17 +02:00 |
|
Bert Belder
|
d7586179eb
|
error: redo and simplify error mapping functions
|
2017-09-04 06:37:13 +02:00 |
|
Bert Belder
|
e37ee111b1
|
error: slim down the error map
|
2017-09-04 05:50:53 +02:00 |
|
Bert Belder
|
e06d6555f6
|
nt: dynamically import RtlNtStatusToDosError
|
2017-09-04 05:08:38 +02:00 |
|
Bert Belder
|
6a92d5e905
|
nt: put parentheses around parameter list in X macro
|
2017-09-04 05:07:25 +02:00 |
|
Bert Belder
|
8520557b03
|
style: remove _s suffix from struct names
|
2017-09-04 00:48:28 +02:00 |
|
Bert Belder
|
e7673137be
|
util: s/ARRAY_COUNT/array_count/
|
2017-09-04 00:37:28 +02:00 |
|
Bert Belder
|
f2cc02abc0
|
util: move definitions to util.h
|
2017-09-04 00:35:04 +02:00 |
|
Bert Belder
|
7de1d61227
|
afd: clean up header, move some definitions
|
2017-09-03 23:41:37 +02:00 |
|
Bert Belder
|
d7d3a80bdd
|
afd: separate out afd_poll implementation
|
2017-09-03 23:41:28 +02:00 |
|
Bert Belder
|
d6cbb73f4e
|
nt: separate out ntdll.dll dynamic import logic
|
2017-09-03 23:39:47 +02:00 |
|
Bert Belder
|
3319986f74
|
nt: move ntstatus related definitions to ntstatus.h
|
2017-09-03 23:39:14 +02:00 |
|
Bert Belder
|
7b253d0cf4
|
nt.h: delete the bulk of NTSTATUS constants
|
2017-09-03 20:55:37 +02:00 |
|
Bert Belder
|
e910b2bc72
|
src: include windows headers in a central location
|
2017-09-03 20:55:37 +02:00 |
|
Bert Belder
|
0c20d49e2f
|
src: rename some files
|
2017-09-03 20:55:37 +02:00 |
|
Bert Belder
|
eef4a2ef44
|
epoll.c: use new error-mapping facility
|
2017-09-03 20:55:31 +02:00 |
|
Bert Belder
|
22f02b1e01
|
src: add facility for mapping between ntstatus, win(sock), c errors
|
2017-09-03 18:59:06 +02:00 |
|
Bert Belder
|
8753208959
|
build: remove cmake output dir override
|
2017-09-02 04:39:19 +02:00 |
|
Bert Belder
|
0b01b17819
|
build: remove incorrect space between -FI flag and path
|
2017-09-02 04:39:03 +02:00 |
|
Bert Belder
|
0c7098fb47
|
epoll.c: remove unnecessary code
|
2017-09-01 19:29:46 +02:00 |
|
Bert Belder
|
7f7d1240ae
|
epoll.c: fix warning about potentially uninitialized variable
|
2017-09-01 19:29:46 +02:00 |
|
Bert Belder
|
32a13c094c
|
epoll.c: use CreateEventW explicitly
|
2017-09-01 19:29:45 +02:00 |
|
Bert Belder
|
5162f578ab
|
epoll.c: wrap assignment-in-conditional in double parentheses
|
2017-09-01 19:29:45 +02:00 |
|
Bert Belder
|
f5633093df
|
epoll.c: use size_t for array index counter
|
2017-09-01 19:29:45 +02:00 |
|
Bert Belder
|
370e1b79e2
|
epoll.c: ensure ssize_t type is defined
|
2017-09-01 19:29:45 +02:00 |
|
Bert Belder
|
47ceb5b498
|
ntapi.h: do away with funky comment style
|
2017-09-01 19:29:45 +02:00 |
|
Bert Belder
|
c480ec6242
|
epoll.c: do away with funky comment style
|
2017-09-01 19:29:45 +02:00 |
|
Bert Belder
|
4815b07fd4
|
src: capitalize Windows.h
|
2017-09-01 19:29:45 +02:00 |
|
Bert Belder
|
82e9b9e418
|
msafd.h: add two definitions from winioctl.h
|
2017-09-01 19:29:45 +02:00 |
|
Bert Belder
|
2ac38c9f3a
|
epoll.c: add missing malloc.h include
|
2017-09-01 19:29:45 +02:00 |
|
Bert Belder
|
051b79868d
|
epoll.c: include windows headers
|
2017-09-01 19:29:45 +02:00 |
|
Bert Belder
|
7fbee56a3f
|
header: define enum EPOLL_EVENTS just like linux
|
2017-09-01 19:29:45 +02:00 |
|
Bert Belder
|
da8e0a5f5f
|
header: make c++ friendly
|
2017-09-01 19:29:45 +02:00 |
|
Bert Belder
|
06b399a21f
|
header: add EPOLL_EXTERN declarator to functions
|
2017-09-01 19:29:44 +02:00 |
|
Bert Belder
|
4263397ef1
|
header: don't include Winsock2.h and Windows.h
|
2017-09-01 19:29:44 +02:00 |
|
Bert Belder
|
0904888163
|
tree.h: mark static functions as unused to avoid clang warning
|
2017-09-01 19:29:44 +02:00 |
|
Bert Belder
|
76c5e35363
|
epoll.c: use GetTickCount64() to avoid clock wrapping issues
|
2017-09-01 19:29:44 +02:00 |
|
Bert Belder
|
f943400618
|
epoll.c: naming conflict, rename 'op(eration)' to '(io_)req(uest)'
|
2017-09-01 19:29:44 +02:00 |
|
Bert Belder
|
0fe6e84b98
|
build: add cmake-based build system
|
2017-09-01 19:29:39 +02:00 |
|
Bert Belder
|
42a0c6e0f4
|
structure: put tests in the test/ folder
|
2017-09-01 19:29:39 +02:00 |
|
Bert Belder
|
1dda8f5b47
|
build: get rid of the gyp build system
|
2017-09-01 19:29:39 +02:00 |
|
Bert Belder
|
c2fff82c25
|
test: fix the test somewhat
|
2017-09-01 19:29:39 +02:00 |
|
k0zmo
|
12b29d1177
|
epoll.c: fix re-listing polled sockets
|
2017-09-01 19:29:39 +02:00 |
|
Bert Belder
|
83ef29e49a
|
src: epoll.h is not a system header
|
2017-09-01 19:29:39 +02:00 |
|
Bert Belder
|
005581d797
|
style: format all sources
|
2017-09-01 19:29:39 +02:00 |
|
Bert Belder
|
c7ebd8f042
|
style: add clang-format style rules
|
2017-09-01 19:29:39 +02:00 |
|
Bert Belder
|
3177e98bb4
|
structure: add more .gitignore items
|
2017-09-01 19:29:34 +02:00 |
|
Bert Belder
|
692e97d0db
|
doc: add license
|
2017-09-01 19:22:22 +02:00 |
|