2007-06-11 11:43:41 +00:00
|
|
|
/*
|
|
|
|
* remote_internal.h: driver to provide access to libvirtd running
|
|
|
|
* on a remote machine
|
|
|
|
*
|
2010-11-16 14:54:17 +00:00
|
|
|
* Copyright (C) 2006-2007, 2010 Red Hat, Inc.
|
2007-06-11 11:43:41 +00:00
|
|
|
*
|
|
|
|
* 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, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*
|
|
|
|
* Author: Richard Jones <rjones@redhat.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __VIR_REMOTE_INTERNAL_H__
|
2010-03-09 18:22:22 +00:00
|
|
|
# define __VIR_REMOTE_INTERNAL_H__
|
2007-06-11 11:43:41 +00:00
|
|
|
|
2010-03-09 18:22:22 +00:00
|
|
|
# include "libvirt/virterror.h"
|
2007-06-11 11:43:41 +00:00
|
|
|
|
2010-11-16 14:54:17 +00:00
|
|
|
# include "configmake.h"
|
|
|
|
|
2007-06-11 11:43:41 +00:00
|
|
|
int remoteRegister (void);
|
|
|
|
|
2008-11-28 12:03:20 +00:00
|
|
|
unsigned long remoteVersion(void);
|
|
|
|
|
2010-03-09 18:22:22 +00:00
|
|
|
# define LIBVIRTD_LISTEN_ADDR NULL
|
|
|
|
# define LIBVIRTD_TLS_PORT "16514"
|
|
|
|
# define LIBVIRTD_TCP_PORT "16509"
|
2010-11-16 14:54:17 +00:00
|
|
|
# define LIBVIRTD_PRIV_UNIX_SOCKET LOCALSTATEDIR "/run/libvirt/libvirt-sock"
|
|
|
|
# define LIBVIRTD_PRIV_UNIX_SOCKET_RO LOCALSTATEDIR "/run/libvirt/libvirt-sock-ro"
|
2010-03-09 18:22:22 +00:00
|
|
|
# define LIBVIRTD_USER_UNIX_SOCKET "/.libvirt/libvirt-sock"
|
2010-11-16 14:54:17 +00:00
|
|
|
# define LIBVIRTD_CONFIGURATION_FILE SYSCONFDIR "/libvirtd.conf"
|
2007-06-11 11:43:41 +00:00
|
|
|
|
|
|
|
/* Defaults for PKI directory. */
|
2010-11-16 14:54:17 +00:00
|
|
|
# define LIBVIRT_PKI_DIR SYSCONFDIR "/pki"
|
2010-03-09 18:22:22 +00:00
|
|
|
# define LIBVIRT_CACERT LIBVIRT_PKI_DIR "/CA/cacert.pem"
|
|
|
|
# define LIBVIRT_CLIENTKEY LIBVIRT_PKI_DIR "/libvirt/private/clientkey.pem"
|
|
|
|
# define LIBVIRT_CLIENTCERT LIBVIRT_PKI_DIR "/libvirt/clientcert.pem"
|
|
|
|
# define LIBVIRT_SERVERKEY LIBVIRT_PKI_DIR "/libvirt/private/serverkey.pem"
|
|
|
|
# define LIBVIRT_SERVERCERT LIBVIRT_PKI_DIR "/libvirt/servercert.pem"
|
2007-06-11 11:43:41 +00:00
|
|
|
|
2008-08-20 20:48:35 +00:00
|
|
|
|
2007-06-11 11:43:41 +00:00
|
|
|
#endif /* __VIR_REMOTE_INTERNAL_H__ */
|