diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-02-13 12:19:46 -0700 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-02-13 12:19:46 -0700 |
commit | 7ea1400f84d2b9d73f80b242eef4b0ddddc27842 (patch) | |
tree | a0955d2fc5ba2d1af34d73f8f85c8434e11e38e3 /lib9p/include | |
parent | b17aeb2f120be00e6f218aeb2c3da07d49df939a (diff) |
lib9p: Expose default-port-number constants
Diffstat (limited to 'lib9p/include')
-rw-r--r-- | lib9p/include/lib9p/9p.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib9p/include/lib9p/9p.h b/lib9p/include/lib9p/9p.h index 68e007f..f743afb 100644 --- a/lib9p/include/lib9p/9p.h +++ b/lib9p/include/lib9p/9p.h @@ -19,6 +19,13 @@ #error config.h must define CONFIG_9P_MAX_ERR_SIZE #endif +/* constants ******************************************************************/ + +enum { + LIB9P_DEFAULT_PORT_9FS = 564, + LIB9P_DEFAULT_PORT_STYX = 6666, +}; + /* strings ********************************************************************/ const char *lib9p_version_str(enum lib9p_version); |