dcmn_patch_database.h (950B)
1 /* 2 * 3 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 4 * 5 * Copyright 2007-2020 Broadcom Inc. All rights reserved. 6 * 7 * File: dcmn_patch_database.h 8 */ 9 10 #ifndef _APPL_DIAG_DCMN_PATCH_DATABASE_H 11 #define _APPL_DIAG_DCMN_PATCH_DATABASE_H 12 13 #define TOTAL_PATCHES 50 14 15 typedef struct{ 16 int id; /* patch ID */ 17 char* str; /* data of patch */ 18 } appl_diag_dcmn_patch; 19 20 /* Find all installed patches */ 21 int appl_diag_dcmn_patches_installed_get ( 22 int unit, 23 int max_arraysize, 24 appl_diag_dcmn_patch* installed_patches, 25 int* num_of_installed); 26 27 /* Get Current Version Insalled */ 28 int appl_diag_dcmn_version_get (int unit, 29 char **version_pointer); 30 int appl_diag_dcmn_version_patch_get (int unit, 31 int *version_patch); 32 33 #endif /*_APPL_DCMN_PATCH_DATABASE_H*/