summaryrefslogtreecommitdiff
path: root/lib9p_util/include/util9p/coroutine.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib9p_util/include/util9p/coroutine.h')
-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_ */