blob: 0d3d311ddc17c2df3b8c9e3c77686343e10a893f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* lib9p/tests/test_server/fs_whoami.h - /whoami API endpoint
*
* Copyright (C) 2024-2025 Luke T. Shumaker <lukeshu@lukeshu.com>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#ifndef _LIB9P_TESTS_TEST_SERVER_FS_WHOAMI_H_
#define _LIB9P_TESTS_TEST_SERVER_FS_WHOAMI_H_
#include <util9p/static.h>
#include <libhw/host_net.h>
struct whoami_file {
char *name;
uint64_t pathnum;
};
LO_IMPLEMENTATION_H(lib9p_srv_file, struct whoami_file, whoami_file);
#define lo_box_whoami_file_as_lib9p_srv_file(obj) util9p_box(whoami_file, obj)
#endif /* _LIB9P_TESTS_TEST_SERVER_FS_WHOAMI_H_ */
|