win32 use hashtable for fd management
authorBud Davis <bdavis9659@gmail.com>
Fri, 30 Jan 2015 02:13:01 +0000 (10:13 +0800)
committerAndy Green <andy.green@linaro.org>
Fri, 30 Jan 2015 02:48:57 +0000 (10:48 +0800)
commit229bfec9486d239fe82487a50c7e0ae1e6c5a0f1
tree25724c94432044916c8c0db6a77c8bf4a5b51d0b
parent413b3a6c551feac0b46c9dbd45da0b6e7609f0cb
win32 use hashtable for fd management

At least some win32 uses an opaque pointer for fd that is not
an ordinal like it is in unix.

Resurrect the old hashtable management for that platform to use
instead, and introduce a helper to get the wsi from the fd "somehow".

Signed-off-by: Bud Davis <bdavis9659@gmail.com>
lib/context.c
lib/libwebsockets.c
lib/lws-plat-win.c
lib/pollfd.c
lib/private-libwebsockets.h
lib/service.c