summaryrefslogtreecommitdiffstats
path: root/farmprint.h
diff options
context:
space:
mode:
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