Avoid array of function pointers
commit56aa64cf1e3edeabef959abe6a5f93ae9c3aef73
authorOlly Betts <olly@survex.com>
Tue, 28 Nov 2017 05:08:42 +0000 (28 18:08 +1300)
committerOlly Betts <olly@survex.com>
Tue, 28 Nov 2017 21:31:28 +0000 (29 10:31 +1300)
treec7e5bfe1160c9a3d69a3cbbe391c869901888769
parentad4118329a437e29aa8e09654713545127f7b541
Avoid array of function pointers

Dispatch remote message codes using a switch statement instead.

This reduces the number of relocations needed at library load time.
xapian-core/common/remoteprotocol.h
xapian-core/net/remoteserver.cc
xapian-core/net/remoteserver.h