Explorar o código

Expose the MAX_CMD_LEN parameter

Zachary Kotlarek %!s(int64=13) %!d(string=hai) anos
pai
achega
cfc1ece06d
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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) = @_;