mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Implement dispatch functions for lock protocol in virtlockd
Introduce a lock_daemon_dispatch.c file which implements the server side dispatcher the RPC APIs previously defined in the lock protocol. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
31
src/locking/lock_daemon_dispatch.h
Normal file
31
src/locking/lock_daemon_dispatch.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* lock_daemon_dispatch.h: lock management daemon dispatch
|
||||
*
|
||||
* Copyright (C) 2006-2012 Red Hat, Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; If not, see
|
||||
* <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Author: Daniel P. Berrange <berrange@redhat.com>
|
||||
*/
|
||||
|
||||
#ifndef __VIR_LOCK_DAEMON_DISPATCH_H__
|
||||
# define __VIR_LOCK_DAEMON_DISPATCH_H__
|
||||
|
||||
# include "rpc/virnetserverprogram.h"
|
||||
|
||||
extern virNetServerProgramProc virLockSpaceProtocolProcs[];
|
||||
extern size_t virLockSpaceProtocolNProcs;
|
||||
|
||||
#endif /* __VIR_LOCK_DAEMON_DISPATCH_H__ */
|
||||
Reference in New Issue
Block a user