summaryrefslogtreecommitdiff
path: root/lib9p_util/include/util9p
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-07-08 19:34:36 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-07-08 19:34:36 -0600
commit8ab5b63e6954929d49a61173dee8d2dcbf6d73bf (patch)
tree5537200e3709cb5c15ccf19fd25fb57826f5b4d0 /lib9p_util/include/util9p
parent72b9036dc961d9fe7e0e9deb12e87f121a4d0ccf (diff)
parentf6e6d7ccdc63a48988b1ada14718be2a033902b7 (diff)
Merge branch 'lukeshu/proc'HEADmain
Diffstat (limited to 'lib9p_util/include/util9p')
-rw-r--r--lib9p_util/include/util9p/coroutine.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib9p_util/include/util9p/coroutine.h b/lib9p_util/include/util9p/coroutine.h
new file mode 100644
index 0000000..00533a9
--- /dev/null
+++ b/lib9p_util/include/util9p/coroutine.h
@@ -0,0 +1,18 @@
+/* util9p/coroutine.h - 9P access to libcr process information
+ *
+ * Copyright (C) 2025 Luke T. Shumaker <lukeshu@lukeshu.com>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
+#ifndef _UTIL9P_COROUTINE_H_
+#define _UTIL9P_COROUTINE_H_
+
+#include <lib9p/srv.h>
+
+struct coroutine_file {
+ char *name;
+ uint64_t pathnum;
+};
+LO_IMPLEMENTATION_H(lib9p_srv_file, struct coroutine_file, coroutine_file);
+
+#endif /* _UTIL9P_COROUTINE_H_ */