mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
src/remote: use #pragma once in headers
Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
5dad4b5d93
commit
85dd3d05cc
@ -19,8 +19,7 @@
|
|||||||
* <http://www.gnu.org/licenses/>.
|
* <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LIBVIRT_REMOTE_DAEMON_H
|
#pragma once
|
||||||
# define LIBVIRT_REMOTE_DAEMON_H
|
|
||||||
|
|
||||||
#define VIR_ENUM_SENTINELS
|
#define VIR_ENUM_SENTINELS
|
||||||
|
|
||||||
@ -87,5 +86,3 @@ extern virNetSASLContextPtr saslCtxt;
|
|||||||
#endif
|
#endif
|
||||||
extern virNetServerProgramPtr remoteProgram;
|
extern virNetServerProgramPtr remoteProgram;
|
||||||
extern virNetServerProgramPtr qemuProgram;
|
extern virNetServerProgramPtr qemuProgram;
|
||||||
|
|
||||||
#endif /* LIBVIRT_REMOTE_DAEMON_H */
|
|
||||||
|
@ -19,8 +19,7 @@
|
|||||||
* <http://www.gnu.org/licenses/>.
|
* <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LIBVIRT_REMOTE_DAEMON_CONFIG_H
|
#pragma once
|
||||||
# define LIBVIRT_REMOTE_DAEMON_CONFIG_H
|
|
||||||
|
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
@ -103,5 +102,3 @@ int daemonConfigLoadFile(struct daemonConfig *data,
|
|||||||
int daemonConfigLoadData(struct daemonConfig *data,
|
int daemonConfigLoadData(struct daemonConfig *data,
|
||||||
const char *filename,
|
const char *filename,
|
||||||
const char *filedata);
|
const char *filedata);
|
||||||
|
|
||||||
#endif /* LIBVIRT_REMOTE_DAEMON_CONFIG_H */
|
|
||||||
|
@ -18,8 +18,7 @@
|
|||||||
* <http://www.gnu.org/licenses/>.
|
* <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LIBVIRT_REMOTE_DAEMON_DISPATCH_H
|
#pragma once
|
||||||
# define LIBVIRT_REMOTE_DAEMON_DISPATCH_H
|
|
||||||
|
|
||||||
#include "remote_protocol.h"
|
#include "remote_protocol.h"
|
||||||
#include "rpc/virnetserverprogram.h"
|
#include "rpc/virnetserverprogram.h"
|
||||||
@ -38,5 +37,3 @@ extern size_t qemuNProcs;
|
|||||||
void remoteClientFree(void *data);
|
void remoteClientFree(void *data);
|
||||||
void *remoteClientNew(virNetServerClientPtr client,
|
void *remoteClientNew(virNetServerClientPtr client,
|
||||||
void *opaque);
|
void *opaque);
|
||||||
|
|
||||||
#endif /* LIBVIRT_REMOTE_DAEMON_DISPATCH_H */
|
|
||||||
|
@ -18,8 +18,7 @@
|
|||||||
* <http://www.gnu.org/licenses/>.
|
* <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LIBVIRT_REMOTE_DAEMON_STREAM_H
|
#pragma once
|
||||||
# define LIBVIRT_REMOTE_DAEMON_STREAM_H
|
|
||||||
|
|
||||||
#include "remote_daemon.h"
|
#include "remote_daemon.h"
|
||||||
|
|
||||||
@ -43,5 +42,3 @@ daemonRemoveClientStream(virNetServerClientPtr client,
|
|||||||
|
|
||||||
void
|
void
|
||||||
daemonRemoveAllClientStreams(daemonClientStream *stream);
|
daemonRemoveAllClientStreams(daemonClientStream *stream);
|
||||||
|
|
||||||
#endif /* LIBVIRT_REMOTE_DAEMON_STREAM_H */
|
|
||||||
|
@ -19,8 +19,7 @@
|
|||||||
* <http://www.gnu.org/licenses/>.
|
* <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LIBVIRT_REMOTE_DRIVER_H
|
#pragma once
|
||||||
# define LIBVIRT_REMOTE_DRIVER_H
|
|
||||||
|
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
#include "configmake.h"
|
#include "configmake.h"
|
||||||
@ -44,6 +43,3 @@ unsigned long remoteVersion(void);
|
|||||||
#define LIBVIRT_CLIENTCERT LIBVIRT_PKI_DIR "/libvirt/clientcert.pem"
|
#define LIBVIRT_CLIENTCERT LIBVIRT_PKI_DIR "/libvirt/clientcert.pem"
|
||||||
#define LIBVIRT_SERVERKEY LIBVIRT_PKI_DIR "/libvirt/private/serverkey.pem"
|
#define LIBVIRT_SERVERKEY LIBVIRT_PKI_DIR "/libvirt/private/serverkey.pem"
|
||||||
#define LIBVIRT_SERVERCERT LIBVIRT_PKI_DIR "/libvirt/servercert.pem"
|
#define LIBVIRT_SERVERCERT LIBVIRT_PKI_DIR "/libvirt/servercert.pem"
|
||||||
|
|
||||||
|
|
||||||
#endif /* LIBVIRT_REMOTE_DRIVER_H */
|
|
||||||
|
Loading…
Reference in New Issue
Block a user