aboutsummaryrefslogtreecommitdiff
path: root/spec/pt-spec/naming.md
diff options
context:
space:
mode:
Diffstat (limited to 'spec/pt-spec/naming.md')
-rw-r--r--spec/pt-spec/naming.md13
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..f86c5e3
--- /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_]*`".