/*
* cpu_conf.h: CPU XML handling
*
- * Copyright (C) 2009, 2010 Red Hat, Inc.
+ * Copyright (C) 2009-2011 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
char *
virCPUDefFormat(virCPUDefPtr def,
const char *indent,
- int flags)
+ unsigned int flags)
{
virBuffer buf = VIR_BUFFER_INITIALIZER;
virCPUDefFormatBuf(virBufferPtr buf,
virCPUDefPtr def,
const char *indent,
- int flags)
+ unsigned int flags)
{
unsigned int i;
/*
* cpu_conf.h: CPU XML handling
*
- * Copyright (C) 2009, 2010 Red Hat, Inc.
+ * Copyright (C) 2009-2011 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
char *
virCPUDefFormat(virCPUDefPtr def,
const char *indent,
- int flags);
+ unsigned int flags);
int
virCPUDefFormatBuf(virBufferPtr buf,
virCPUDefPtr def,
const char *indent,
- int flags);
+ unsigned int flags);
int
virCPUDefAddFeature(virCPUDefPtr cpu,
/*
* storage_conf.c: config handling for storage driver
*
- * Copyright (C) 2006-2010 Red Hat, Inc.
+ * Copyright (C) 2006-2011 Red Hat, Inc.
* Copyright (C) 2006-2008 Daniel P. Berrange
*
* This library is free software; you can redistribute it and/or
typedef struct _virStoragePoolOptions virStoragePoolOptions;
typedef virStoragePoolOptions *virStoragePoolOptionsPtr;
struct _virStoragePoolOptions {
- int flags;
+ unsigned int flags;
int defaultFormat;
virStoragePoolFormatToString formatToString;
virStoragePoolFormatFromString formatFromString;
* since. Thus no need to lock when accessing them
*/
unsigned int magic; /* specific value to check */
- int flags; /* a set of connection flags */
+ unsigned int flags; /* a set of connection flags */
xmlURIPtr uri; /* connection URI */
/* The underlying hypervisor driver and network driver. */
unsigned int magic;
virConnectPtr conn;
int refs;
- int flags;
+ unsigned int flags;
virStreamDriverPtr driver;
void *privateData;