Commit Briefs
implement Tread against directories
To do so it was needed to modify the np_* functions so they take an explicit evbuffer.
Topen implemented
Implement Topen plus some basic testing. ORCLOSE (remove file when the fid is clunked) is mapped to O_CLOEXEC and tried to be honoured on fid_free. "vanilla" 9P2000 uses reads on directories to list the entries while 9P2000.L (and .U too possibly) introduces an explicit Treaddir. I'm planning to support 9P2000-style read-on-dir but not yet.
define a handy HEADERSIZE
sizeof(struct np_msg_header) includes unwanted padding...
fix bufferevent tls I/O on libevent2
port of telescope commit 1470eab31452d2fab50bc4965320dab7892b2ef3 original commit message: > on libevent2 we need to wrap evbuffer_add with > evbuffer_freeze/evbuffer_unfreeze. Not sure exactly why, probably > because we're doing some evbuffer_enable/disable/enable-again.
s/SIMPLEQ_/STAILQ_/g
STAILQ_* macros seems to be more widespread than SIMPLEQ_*