1 /* 2 * Copyright (C) 2010 Citrix Ltd. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU Lesser General Public License as published 6 * by the Free Software Foundation; version 2.1 only. with the special 7 * exception on linking described in file LICENSE. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU Lesser General Public License for more details. 13 */ 14 15 #include "libxl_osdeps.h" /* must come before any other headers */ 16 #include "libxl_internal.h" 17 libxl__private_bindir_path(void)18const char *libxl__private_bindir_path(void) 19 { 20 return LIBEXEC_BIN; 21 } 22 libxl__xenfirmwaredir_path(void)23const char *libxl__xenfirmwaredir_path(void) 24 { 25 return XENFIRMWAREDIR; 26 } 27 libxl__xen_script_dir_path(void)28const char *libxl__xen_script_dir_path(void) 29 { 30 return XEN_SCRIPT_DIR; 31 } 32 libxl__run_dir_path(void)33const char *libxl__run_dir_path(void) 34 { 35 return XEN_RUN_DIR; 36 } 37 libxl__seabios_path(void)38const char *libxl__seabios_path(void) 39 { 40 #ifdef SEABIOS_PATH 41 return SEABIOS_PATH; 42 #else 43 return NULL; 44 #endif 45 } 46 libxl__ovmf_path(void)47const char *libxl__ovmf_path(void) 48 { 49 #ifdef OVMF_PATH 50 return OVMF_PATH; 51 #else 52 return NULL; 53 #endif 54 } 55 libxl__ipxe_path(void)56const char *libxl__ipxe_path(void) 57 { 58 #ifdef IPXE_PATH 59 return IPXE_PATH; 60 #else 61 return NULL; 62 #endif 63 } 64 65 /* 66 * Local variables: 67 * mode: C 68 * c-basic-offset: 4 69 * indent-tabs-mode: nil 70 * End: 71 */ 72