The following set of functions are used to manage the list of known server types in the Serveez core library. Serveez itself uses some of these functions to register its builtin server types.
Call func for each servertype, passing additionally the second arg closure. If func returns a negative value, return immediately with that value (breaking out of the loop), otherwise, return 0.
Add the server type server to the currently registered servers.
Find a servertype definition by its short name. If dynamic is
set to non-zero, try to load a shared library that provides that
NULL if no server with the given variable
prefix name has been found.
Find a given server instances server server type. Return
NULL if there is no such server type (which should never occur
since a server is a child of a server type).