summaryrefslogtreecommitdiffstats
path: root/farmprint.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:14:45 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:14:45 +0000
commit43e8530e93493bb978c446a2023134bdd4277e50 (patch)
treee8c0d3c0c394b17381f48fb2d288f166b4f22440 /farmprint.h
parentInitial commit. (diff)
downloadsmartmontools-upstream.tar.xz
smartmontools-upstream.zip
Adding upstream version 7.4.upstream/7.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'farmprint.h')
-rw-r--r--farmprint.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/farmprint.h b/farmprint.h
new file mode 100644
index 0000000..1f8d100
--- /dev/null
+++ b/farmprint.h
@@ -0,0 +1,32 @@
+/*
+ * farmprint.h
+ *
+ * Home page of code is: https://www.smartmontools.org
+ *
+ * Copyright (C) 2021 - 2023 Seagate Technology LLC and/or its Affiliates
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef FARMPRINT_H
+#define FARMPRINT_H
+
+#include "farmcmds.h"
+
+/*
+ * Prints parsed FARM log (GP Log 0xA6) data from Seagate
+ * drives already present in ataFarmLog structure
+ *
+ * @param farmLog: Constant reference to parsed farm log (const ataFarmLog&)
+ */
+void ataPrintFarmLog(const ataFarmLog& farmLog);
+
+/*
+ * Prints parsed FARM log (SCSI log page 0x3D, sub-page 0x3) data from Seagate
+ * drives already present in scsiFarmLog structure
+ *
+ * @param farmLog: Constant reference to parsed farm log (const scsiFarmLog&)
+ */
+void scsiPrintFarmLog(const scsiFarmLog& farmLog);
+
+#endif