ctdb-daemon: Move some inline declarations to header file