]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blame - scrub/counter.h
xfs_scrub: remove xfs_ prefixes from structure names
[thirdparty/xfsprogs-dev.git] / scrub / counter.h
CommitLineData
959ef981 1// SPDX-License-Identifier: GPL-2.0+
d11cc69e
DW
2/*
3 * Copyright (C) 2018 Oracle. All Rights Reserved.
d11cc69e 4 * Author: Darrick J. Wong <darrick.wong@oracle.com>
d11cc69e
DW
5 */
6#ifndef XFS_SCRUB_COUNTER_H_
7#define XFS_SCRUB_COUNTER_H_
8
9struct ptcounter;
10struct ptcounter *ptcounter_init(size_t nr);
11void ptcounter_free(struct ptcounter *ptc);
12void ptcounter_add(struct ptcounter *ptc, int64_t nr);
13uint64_t ptcounter_value(struct ptcounter *ptc);
14
15#endif /* XFS_SCRUB_COUNTER_H_ */