-/* $OpenBSD: ometric.c,v 1.1 2022/12/15 12:02:29 claudio Exp $ */
+/* $OpenBSD: ometric.c,v 1.2 2023/01/06 13:22:00 deraadt Exp $ */
/*
* Copyright (c) 2022 Claudio Jeker <claudio@openbsd.org>
struct olabels {
STAILQ_HEAD(, olabel) labels;
struct olabels *next;
- int refcnt;
+ int refcnt;
};
enum ovalue_type {
-/* $OpenBSD: ometric.h,v 1.1 2022/12/15 12:02:29 claudio Exp $ */
+/* $OpenBSD: ometric.h,v 1.2 2023/01/06 13:22:00 deraadt Exp $ */
/*
* Copyright (c) 2022 Claudio Jeker <claudio@openbsd.org>
void ometric_set_timespec(struct ometric *, const struct timespec *,
struct olabels *);
void ometric_set_info(struct ometric *, const char **, const char **,
- struct olabels *);
-void ometric_set_state(struct ometric *, const char *, struct olabels *);
+ struct olabels *);
+void ometric_set_state(struct ometric *, const char *, struct olabels *);
void ometric_set_int_with_labels(struct ometric *, uint64_t, const char **,
const char **, struct olabels *);
void ometric_set_timespec_with_labels(struct ometric *, struct timespec *,