summaryrefslogtreecommitdiff
path: root/lib9p/srv_errno.h
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-05-29 23:39:12 -0400
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-06-06 23:01:30 -0600
commit8a9fc1704dcf3ec117a3bf37fd70a44a43873659 (patch)
tree8970e5d141e0193c15d1f77aee8c248320350979 /lib9p/srv_errno.h
parent30a60acc14696551ccdb61d4006defcb5eea8cc6 (diff)
lib9p: Use <libmisc/error.h> errnums internally
Diffstat (limited to 'lib9p/srv_errno.h')
-rw-r--r--lib9p/srv_errno.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib9p/srv_errno.h b/lib9p/srv_errno.h
new file mode 100644
index 0000000..1384f97
--- /dev/null
+++ b/lib9p/srv_errno.h
@@ -0,0 +1,14 @@
+/* lib9p/srv_errno.h - TODO
+ *
+ * Copyright (C) 2025 Luke T. Shumaker <lukeshu@lukeshu.com>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
+#ifndef _LIB9P_SRV_ERRNO_H_
+#define _LIB9P_SRV_ERRNO_H_
+
+#if CONFIG_9P_ENABLE_9P2000_u || CONFIG_9P_ENABLE_9P2000_L
+lib9p_errno_t libmisc_to_linuxgeneric_errno(_errnum);
+#endif
+
+#endif /* _LIB9P_SRV_ERRNO_H_ */