syscap_tool add decode string format pcid funcation.

Signed-off-by: yudechen <chenyude@huawei.com>
Change-Id: I8319613167ea80c05551f5981dbffd2cc1f2bcf9
This commit is contained in:
yudechen
2022-05-26 19:10:58 +08:00
parent b58b98e86a
commit dc42c1e422
4 changed files with 262 additions and 29 deletions
+3 -1
View File
@@ -19,6 +19,8 @@
#include <stdint.h>
#define MAX_OS_SYSCAP_NUM 960
#define TYPE_FILE 1
#define TYPE_STRING 2
typedef struct ProductCompatibilityID {
uint16_t apiVersion : 15;
@@ -31,5 +33,5 @@ typedef struct ProductCompatibilityID {
int32_t CreatePCID(char *inputFile, char *outDirPath);
int32_t DecodePCID(char *inputFile, char *outDirPath);
int32_t DecodeStringPCID(char *input, char *outDirPath, int type);
#endif