of_findname(): missing argument
Merge pull request #25 from hat001/of_findname

of_findname(): missing argument
Merge remote branch 'github/develop' into develop
Use FreeBSD sendfile() capability to send protocol header

When transmitting file contents to a client with sendfile(), on
every platform other then Solaris (where we use sendfilev()), we
send the AFP the protocol header with an additional send with
MSG_MORE before calling sendfile().
FreeBSD sendfile() supports sending protocol header (and trailer)
data similarly to Solaris sendfilev().
read_file() clobbered the AFP error code
Fix ressource fork refcounting
Increase IO size when sendfile() is not used

If sendfile() support is disabled, the current code results in an
IO size of 8k for transferring requested data to the client. Eg:
- client request to read DSI quantum size bytes (~250k) from a file
- afpd process loops read(8k, file) -> send(8k, client) until all
  250k have been transferred
This should be modified to read the whole 250k in one swoop from the
file to a buffer and then send the whole buffer in one swoop to the
client.

From FR #76.
Can't set Finder label on symlinked folder with "follow symlinks = yes"

Fixes bug #508.
Fix a debug message
Setting POSIX ACLs on Linux

The VFS module for setting ACLs on Linux returned an error when
try to set an ACL for a file that doesn't have a ressource fork.

Fix this by checking for ENOENT errno and then returning with 0
from the VFS stack.
Only configure libevent when used
new configure option --with-init-dir=PATH
Add afpstats manpage and update afp.conf
Fix "ad ls" segfault if requested object is not in an AFP volume

Fixes bug #496.
Prepare 3.0.3 release
3.0.4dev
Add 3.0.4 news
Change log facility
Opening files without metadata EA may result in broken metadata EA

ad_open_hf_ea() calls ad_flush() after initializing the new metadata,
but in ad_flush() ad_flush_ea() wasn't called because we didn't
yet increment the refcount.
Fix this by increasing the refcount in ad_open_hf() before calling
into ad_open_hf_ea(), decrementing it again in case of an error.

This ensure a valid metadata EA is created, but it still doesn't
set the CNID field values. Therefor in afp_openfork() we must check
whether the ad_open() created a metadata EA and then set the CNID
info.

Finally, check for malformed metadata EAs and delete them.

Fixes bug #510.
Convert charset of query