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>
int libxl__device_destroy(libxl__gc *gc, libxl__device *dev)
{
char *be_path = libxl__device_backend_path(gc, dev);
- char *fe_path = libxl__device_frontend_path(gc, dev);
+ const char *fe_path = libxl__device_frontend_path(gc, dev);
xs_transaction_t t = 0;
int rc;
* It mimics xenstore-rm -t behaviour.
*/
_hidden int libxl__xs_path_cleanup(libxl__gc *gc, xs_transaction_t t,
- char *user_path);
+ const char *user_path);
/*
* Event generation functions provided by the libxl event core to the
*t = 0;
}
-int libxl__xs_path_cleanup(libxl__gc *gc, xs_transaction_t t, char *user_path)
+int libxl__xs_path_cleanup(libxl__gc *gc, xs_transaction_t t,
+ const char *user_path)
{
unsigned int nb = 0;
char *path, *last, *val;