Files
xen/tools/libxl/libxl_paths.c
T
Ian Campbell 98c0339ead libxl: remove lockdir and config dir from the API
These are only used by xl.

Rename _libxl_paths.h -> _paths.h, these are not actually "libxl" paths but
rather are part of the Xen build time configuration. It is fine for xl to also
consume them.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
2012-05-29 16:44:06 +01:00

50 lines
1.1 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_osdeps.h" /* must come before any other headers */
#include "libxl_internal.h"
const char *libxl__libexec_path(void)
{
return LIBEXEC;
}
const char *libxl__private_bindir_path(void)
{
return PRIVATE_BINDIR;
}
const char *libxl__xenfirmwaredir_path(void)
{
return XENFIRMWAREDIR;
}
const char *libxl__xen_script_dir_path(void)
{
return XEN_SCRIPT_DIR;
}
const char *libxl__run_dir_path(void)
{
return XEN_RUN_DIR;
}
/*
* Local variables:
* mode: C
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/