2007-06-11 11:43:41 +00:00
|
|
|
/*
|
2014-03-07 13:38:51 +00:00
|
|
|
* remote_driver.h: driver to provide access to libvirtd running
|
2007-06-11 11:43:41 +00:00
|
|
|
* 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
|
2012-09-20 22:30:55 +00:00
|
|
|
* License along with this library. If not, see
|
2012-07-21 10:06:23 +00:00
|
|
|
* <http://www.gnu.org/licenses/>.
|
2007-06-11 11:43:41 +00:00
|
|
|
*/
|
|
|
|
|
2019-06-18 16:12:38 +00:00
|
|
|
#pragma once
|
2007-06-11 11:43:41 +00:00
|
|
|
|
2019-06-18 16:12:38 +00:00
|
|
|
#include "internal.h"
|
|
|
|
#include "configmake.h"
|
2010-11-16 14:54:17 +00:00
|
|
|
|
2007-06-11 11:43:41 +00:00
|
|
|
int remoteRegister (void);
|
|
|
|
|
2008-11-28 12:03:20 +00:00
|
|
|
unsigned long remoteVersion(void);
|
|
|
|
|
2019-06-18 16:12:38 +00:00
|
|
|
#define LIBVIRTD_LISTEN_ADDR NULL
|
|
|
|
#define LIBVIRTD_TLS_PORT "16514"
|
|
|
|
#define LIBVIRTD_TCP_PORT "16509"
|
2007-06-11 11:43:41 +00:00
|
|
|
|
|
|
|
/* Defaults for PKI directory. */
|
2019-06-18 16:12:38 +00:00
|
|
|
#define LIBVIRT_PKI_DIR SYSCONFDIR "/pki"
|
|
|
|
#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"
|