summaryrefslogtreecommitdiffstats
path: root/include/version.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/version.h')
-rw-r--r--include/version.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/version.h b/include/version.h
new file mode 100644
index 0000000..d28d4b0
--- /dev/null
+++ b/include/version.h
@@ -0,0 +1,27 @@
+#include "config.h"
+#define IPERF_VERSION VERSION
+#define IPERF_VERSION_DATE "14 March 2023"
+#define IPERF_VERSION_MAJORHEX 0x00020001
+#define IPERF_VERSION_MINORHEX 0x00090003
+
+/*
+ * case 0:
+ * sprintf(report->peerversion + strlen(report->peerversion) - 1,"-dev)");
+ * break;
+ * case 1:
+ * sprintf(report->peerversion + strlen(report->peerversion) - 1,"-rc)");
+ * break;
+ * case 2:
+ * sprintf(report->peerversion + strlen(report->peerversion) - 1,"-rc2)");
+ * break;
+ * case 3:
+ * break;
+ * case 4:
+ * sprintf(report->peerversion + strlen(report->peerversion) - 1,"-private)");
+ * break;
+ * case 5:
+ * sprintf(report->peerversion + strlen(report->peerversion) - 1,"-master)");
+ * break;
+ * default:
+ * sprintf(report->peerversion + strlen(report->peerversion) - 1, "-unk)");
+ */