/* Copyright (c) Huawei Technologies Co., Ltd. 2025-2025. All rights reserved.
 * openUBMC is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at:
 *          http://license.coscl.org.cn/MulanPSL2
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
 */

#ifndef __SL_PD_LOG_H__
#define __SL_PD_LOG_H__

#include "sml_public.h"

#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif
#endif /* __cplusplus */

gint32 GetSCSIDeviceSupportLogPages(guint32 ctrl_id, guint16 device_id, guint8 page_code, guint8 *lp_support);
gint32 lsi_get_pd_log(guint32 ctrl_id, guint16 device_id, gpointer param, gpointer data);
gint32 SendSCSILogSenseCommand(guint32 ctrl_id, guint16 device_id, guint8 page_code, guint8 sub_page_code,
    guint8 **pbuf, guint32 *buf_size, guint32 *scsi_status);
gint32 send_read_hssd_io_info_scsi_command(guint32 ctrl_id, guint16 device_id, guint8 **pbuf, guint32 *buf_size,
    guint32 *scsi_status);

#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif /* __cplusplus */
#endif
