I didn't find them before because I couldn't compile the plugin without the
library at hand.
static void vcpu_submit (unsigned long long cpu_time,
time_t t,
virDomainPtr dom, int vcpu_nr, const char *type);
static void vcpu_submit (unsigned long long cpu_time,
time_t t,
virDomainPtr dom, int vcpu_nr, const char *type);
-static void submit_counter2 (long long read, long long write,
- time_t t,
- virDomainPtr dom, const char *devname,
- const char *type);
+static void submit_counter2 (const char *type, counter_t v0, counter_t v1,
+ time_t t,
+ virDomainPtr dom, const char *devname);
/* ERROR(...) macro for virterrors. */
#define VIRT_ERROR(conn,s) do { \
/* ERROR(...) macro for virterrors. */
#define VIRT_ERROR(conn,s) do { \
int status = 0;
switch (hostname_format[i]) {
int status = 0;
switch (hostname_format[i]) {
- vl->host[sizeof (host) - 1] = '\0';
+ vl->host[sizeof (vl->host) - 1] = '\0';
} /* void init_value_list */
static void
} /* void init_value_list */
static void