include: common: Fix function formatting

This commit is contained in:
Peter Krempa 2016-04-21 14:49:18 +02:00
parent 9928387473
commit 3883a29782

View File

@ -202,107 +202,89 @@ struct _virTypedParameter {
*/ */
typedef virTypedParameter *virTypedParameterPtr; typedef virTypedParameter *virTypedParameterPtr;
virTypedParameterPtr virTypedParamsGet(virTypedParameterPtr params,
int nparams,
const char *name);
int virTypedParamsGetInt(virTypedParameterPtr params,
int nparams,
const char *name,
int *value);
int virTypedParamsGetUInt(virTypedParameterPtr params,
int nparams,
const char *name,
unsigned int *value);
int virTypedParamsGetLLong(virTypedParameterPtr params,
int nparams,
const char *name,
long long *value);
int virTypedParamsGetULLong(virTypedParameterPtr params,
int nparams,
const char *name,
unsigned long long *value);
int virTypedParamsGetDouble(virTypedParameterPtr params,
int nparams,
const char *name,
double *value);
int virTypedParamsGetBoolean(virTypedParameterPtr params,
int nparams,
const char *name,
int *value);
int virTypedParamsGetString(virTypedParameterPtr params,
int nparams,
const char *name,
const char **value);
virTypedParameterPtr int virTypedParamsAddInt(virTypedParameterPtr *params,
virTypedParamsGet (virTypedParameterPtr params,
int nparams,
const char *name);
int
virTypedParamsGetInt (virTypedParameterPtr params,
int nparams,
const char *name,
int *value);
int
virTypedParamsGetUInt (virTypedParameterPtr params,
int nparams,
const char *name,
unsigned int *value);
int
virTypedParamsGetLLong (virTypedParameterPtr params,
int nparams,
const char *name,
long long *value);
int
virTypedParamsGetULLong (virTypedParameterPtr params,
int nparams,
const char *name,
unsigned long long *value);
int
virTypedParamsGetDouble (virTypedParameterPtr params,
int nparams,
const char *name,
double *value);
int
virTypedParamsGetBoolean(virTypedParameterPtr params,
int nparams,
const char *name,
int *value);
int
virTypedParamsGetString (virTypedParameterPtr params,
int nparams,
const char *name,
const char **value);
int
virTypedParamsAddInt (virTypedParameterPtr *params,
int *nparams, int *nparams,
int *maxparams, int *maxparams,
const char *name, const char *name,
int value); int value);
int int virTypedParamsAddUInt(virTypedParameterPtr *params,
virTypedParamsAddUInt (virTypedParameterPtr *params, int *nparams,
int *nparams, int *maxparams,
int *maxparams, const char *name,
const char *name, unsigned int value);
unsigned int value); int virTypedParamsAddLLong(virTypedParameterPtr *params,
int int *nparams,
virTypedParamsAddLLong (virTypedParameterPtr *params, int *maxparams,
int *nparams, const char *name,
int *maxparams, long long value);
const char *name, int virTypedParamsAddULLong(virTypedParameterPtr *params,
long long value); int *nparams,
int int *maxparams,
virTypedParamsAddULLong (virTypedParameterPtr *params, const char *name,
int *nparams, unsigned long long value);
int *maxparams, int virTypedParamsAddDouble(virTypedParameterPtr *params,
const char *name, int *nparams,
unsigned long long value); int *maxparams,
int const char *name,
virTypedParamsAddDouble (virTypedParameterPtr *params, double value);
int *nparams, int virTypedParamsAddBoolean(virTypedParameterPtr *params,
int *maxparams, int *nparams,
const char *name, int *maxparams,
double value); const char *name,
int int value);
virTypedParamsAddBoolean(virTypedParameterPtr *params, int virTypedParamsAddString(virTypedParameterPtr *params,
int *nparams, int *nparams,
int *maxparams, int *maxparams,
const char *name, const char *name,
int value); const char *value);
int int virTypedParamsAddStringList(virTypedParameterPtr *params,
virTypedParamsAddString (virTypedParameterPtr *params, int *nparams,
int *nparams, int *maxparams,
int *maxparams, const char *name,
const char *name, const char **values);
const char *value); int virTypedParamsAddFromString(virTypedParameterPtr *params,
int int *nparams,
virTypedParamsAddStringList(virTypedParameterPtr *params, int *maxparams,
int *nparams, const char *name,
int *maxparams, int type,
const char *name, const char *value);
const char **values);
int void virTypedParamsClear(virTypedParameterPtr params,
virTypedParamsAddFromString(virTypedParameterPtr *params,
int *nparams,
int *maxparams,
const char *name,
int type,
const char *value);
void
virTypedParamsClear (virTypedParameterPtr params,
int nparams);
void
virTypedParamsFree (virTypedParameterPtr params,
int nparams); int nparams);
void virTypedParamsFree(virTypedParameterPtr params,
int nparams);
# ifdef __cplusplus # ifdef __cplusplus
} }