Remove prototypes already defined by flex.

This prevents conflicting prototype errors for yyget_leng with some versions of flex.
nspi: refactor bind method
nspi: bind method must not free global emsabp_tdb_ctx
Fix parsing client_address RTS command in RPC/HTTP Proxy

See [MS-RPCH] section 2.2.3.5.12.

It was referencing to an invalid var name and renaming variables
to match what is actually storing.

Pair-Programmed-with: Javier Amor García <jamor@zentyal.com>
Merge pull request #134 from jelmer/fix-flex

Remove prototypes already defined by flex.
Merge pull request #159 from sixstone-qq/ejhernandez/fix-client-address-cmd-RTS-PDU-OA

Fix parsing client_address RTS command in RPC/HTTP Proxy
Pass RTS RPC commands from IN to OUT channel in RPC/Proxy

We use a custom RTS_CMD_CUSTOM_OUT to notify the connection close.

This RTS RPC commands are forwarded to the client except
for the previous custom one.
Return valid HTTP response when more data is needed
Implement naive flow control in IN channel for RPC/Proxy

This is required to make attachments sending work.

It sends a FlowControlAckWithDestination RTS RPC command
if the local available window is lower than the half of the window size.

This makes the sender to know it has room to send more PDUs.
Be more pep8 complaint

See https://www.python.org/dev/peps/pep-0008/ for details.
RTS cookies are transmitted using little endian

So we have to set it up the UUID objects properly
to use it in RTS RPC commands
Only RPC PDUs are subject to flow control

If all incoming data were treated as read, then the client
closes the connection as the data was inconsistent

   bytes_received > bytes_sent
Merge pull request #161 from sixstone-qq/ejhernandez/send-attachment-oa

Flow Control implementation in RPC over HTTP v2 server
Merge pull request #160 from exekias/fix_ntlm_auth_error

Return valid HTTP response when more data is needed
When provisioning send schemas additions to schema master
Merge pull request #149 from javierag/jag/provision-adc

Allow openchange provision in adc server
[libmapi++] Fix segfault when login() fails.

A failed login calls uninitialize(), but so does the destructor.  A double-free causes a segfault, so always be sure to set freed pointers to 0.
Merge pull request #169 from mactalla/libmapipp-segfault

[libmapi++] Fix segfault when login() fails.
Merge pull request #153 from openchange/jgarcia/nspi_dont_free_global_tdb

nspi: Do not free global tdb
mapiproxy: unbind method receives dcesrv_connection_context