break dependency

This commit is contained in:
dmchen 2023-09-18 11:44:06 +08:00
parent a64ddfc736
commit 5f0274e83d
2 changed files with 8 additions and 3 deletions

View File

@ -40,7 +40,7 @@ typedef struct {
int32_t auditInit(const SAuditCfg *pCfg); int32_t auditInit(const SAuditCfg *pCfg);
void auditSend(SJson *pJson); void auditSend(SJson *pJson);
void auditRecord(SRpcMsg *pReq, int64_t clusterId, char *operation, char *target1, char *target2, void auditRecord(SRpcMsg *pReq, int64_t clusterId, char *operation, char *target1, char *target2,
char *detail/*, int32_t len*/); char *detail, int32_t len);
#ifdef __cplusplus #ifdef __cplusplus
} }

View File

@ -34,14 +34,19 @@ extern void auditRecordImp(SRpcMsg *pReq, int64_t clusterId, char *operation, ch
char *detail, int32_t len); char *detail, int32_t len);
void auditRecord(SRpcMsg *pReq, int64_t clusterId, char *operation, char *target1, char *target2, void auditRecord(SRpcMsg *pReq, int64_t clusterId, char *operation, char *target1, char *target2,
char *detail/*, int32_t len*/) { char *detail, int32_t len) {
//auditRecordImp(pReq, clusterId, operation, target1, target2, detail, len); //auditRecordImp(pReq, clusterId, operation, target1, target2, detail, len);
auditRecordImp(pReq, clusterId, operation, target1, target2, detail, 0); auditRecordImp(pReq, clusterId, operation, target1, target2, detail, 0);
} }
void auditRecordImp(SRpcMsg *pReq, int64_t clusterId, char *operation, char *target1, char *target2,
char *detail, int32_t len) {
}
/*
#ifndef TD_ENTERPRISE #ifndef TD_ENTERPRISE
void auditRecordImp(SRpcMsg *pReq, int64_t clusterId, char *operation, char *target1, char *target2, void auditRecordImp(SRpcMsg *pReq, int64_t clusterId, char *operation, char *target1, char *target2,
char *detail, int32_t len) { char *detail, int32_t len) {
} }
#endif #endif
*/