Files
xen/tools/libxl/libxl_paths.c
T
Stefano Stabellini 52bf5773ab Config.mk et al: introduce XEN_LOCK_DIR
Introduce a OS dependent global variable XEN_LOCK_DIR that points at the
system directory that contains lock files.

[fixed up for conflict in Config.mk -iwj]

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
2010-09-22 17:52:34 +01:00

67 lines
1.3 KiB
C

/*
* Copyright (C) 2010 Citrix Ltd.
*
* This program 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; version 2.1 only. with the special
* exception on linking described in file LICENSE.
*
* This program 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.
*/
#include "libxl.h"
#include "_libxl_paths.h"
const char *libxl_sbindir_path(void)
{
return SBINDIR;
}
const char *libxl_bindir_path(void)
{
return BINDIR;
}
const char *libxl_libexec_path(void)
{
return LIBEXEC;
}
const char *libxl_libdir_path(void)
{
return LIBDIR;
}
const char *libxl_sharedir_path(void)
{
return SHAREDIR;
}
const char *libxl_private_bindir_path(void)
{
return PRIVATE_BINDIR;
}
const char *libxl_xenfirmwaredir_path(void)
{
return XENFIRMWAREDIR;
}
const char *libxl_xen_config_dir_path(void)
{
return XEN_CONFIG_DIR;
}
const char *libxl_xen_script_dir_path(void)
{
return XEN_SCRIPT_DIR;
}
const char *libxl_lock_dir_path(void)
{
return XEN_LOCK_DIR;
}