diff options
author | Nick Mathewson <nickm@torproject.org> | 2023-10-14 14:36:12 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2023-10-14 14:36:12 -0400 |
commit | 2f357f50a0775cc684169e83d21e8e87c97bfc90 (patch) | |
tree | 5ba083d885078beed5ea3d73d37fd1eccc3153fe /spec/pt-spec/naming.md | |
parent | 4ba45dfd9afd08edeb46243127a480f1d23b9640 (diff) | |
download | torspec-2f357f50a0775cc684169e83d21e8e87c97bfc90.tar.gz torspec-2f357f50a0775cc684169e83d21e8e87c97bfc90.zip |
Rename all long files.
Diffstat (limited to 'spec/pt-spec/naming.md')
-rw-r--r-- | spec/pt-spec/naming.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/pt-spec/naming.md b/spec/pt-spec/naming.md new file mode 100644 index 0000000..394b420 --- /dev/null +++ b/spec/pt-spec/naming.md @@ -0,0 +1,13 @@ +<a id="pt-spec.txt-3.1"></a> + +## Pluggable Transport Naming + +Pluggable Transport names serve as unique identifiers, and every +PT MUST have a unique name. + +PT names MUST be valid C identifiers. PT names MUST begin with +a letter or underscore, and the remaining characters MUST be +ASCII letters, numbers or underscores. No length limit is +imposted. + +PT names MUST satisfy the regular expression "`[a-zA-Z_][a-zA-Z0-9_]*`". |