summaryrefslogtreecommitdiff
path: root/cmd/sbc_harness/fs_harness_uptime_txt.h
blob: 7bf29454ea518e56cb3762568e8053fe62126930 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* sbc_harness/fs_harness_uptime_txt.h - 9P access to harness uptime
 *
 * Copyright (C) 2025  Luke T. Shumaker <lukeshu@lukeshu.com>
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */

#ifndef _SBC_HARNESS_FS_HARNESS_UPTIME_TXT_H_
#define _SBC_HARNESS_FS_HARNESS_UPTIME_TXT_H_

#include <lib9p/srv.h>

struct uptime_file {
	char            *name;
	uint64_t         pathnum;
};
LO_IMPLEMENTATION_H(lib9p_srv_file, struct uptime_file, uptime_file);
#define lo_box_uptime_file_as_lib9p_srv_file(obj) util9p_box(uptime_file, obj)

#endif /* _SBC_HARNESS_FS_HARNESS_UPTIME_TXT_H_ */