summaryrefslogtreecommitdiff
path: root/support/dktools/printqds.h
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/dktools/printqds.h
Initial commit
Diffstat (limited to 'support/dktools/printqds.h')
-rw-r--r--support/dktools/printqds.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/support/dktools/printqds.h b/support/dktools/printqds.h
new file mode 100644
index 0000000000..f2de51c751
--- /dev/null
+++ b/support/dktools/printqds.h
@@ -0,0 +1,19 @@
+
+#ifndef PRINTQDS_H_INCLUDED
+/** Protection against multiple inclusion. */
+#define PRINTQDS_H_INCLUDED 1
+
+/** Maximum request length.
+*/
+#define PQD_INPUT_BUFFER_SIZE 512
+
+/** Maximum response length.
+*/
+#define PQD_OUTPUT_BUFFER_SIZE 128
+
+/** Size of configuration file line.
+*/
+#define PQD_CONFIG_BUFFER_SIZE (DK3_MAX_PATH + PQD_INPUT_BUFFER_SIZE)
+
+#endif
+