mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-27 20:29:57 -04:00
syscap_tool add decode string format pcid funcation.
Signed-off-by: yudechen <chenyude@huawei.com> Change-Id: I8319613167ea80c05551f5981dbffd2cc1f2bcf9
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user