Browse Source

Expose the MAX_CMD_LEN parameter

Zachary Kotlarek 13 years ago
parent
commit
cfc1ece06d
1 changed files with 5 additions and 0 deletions
  1. 5 0
      dmx/DMX.pm

+ 5 - 0
dmx/DMX.pm

@@ -42,6 +42,11 @@ sub dataDir() {
 	return $DATA_DIR;
 }
 
+# Maximum command length
+sub maxCmdLen() {
+	return $MAX_CMD_LEN;
+}
+
 # Generic client socket
 sub clientSock($) {
 	my ($path) = @_;