Alexandre Julliard : server: Move some functions to avoid forward declarations.