Searched refs:newRelation (Results 1 – 2 of 2) sorted by relevance
63 Relation *newRelation = (Relation *)SAMGR_Malloc(sizeof(Relation)); in AddTopic() local64 if (newRelation == NULL) { in AddTopic()67 newRelation->topic = *topic; in AddTopic()68 newRelation->callbacks.consumer = NULL; in AddTopic()69 UtilsListInit(&newRelation->callbacks.node); in AddTopic()72 UtilsListAdd(&head->node, &(newRelation->node)); in AddTopic()
90 static bool IsSameRelation(const uint8_t *newRelation, const uint8_t *oldRelation, uint32_t len) in IsSameRelation() argument95 …if ((newRelation[i] != 0 && oldRelation[i] == 0) || (newRelation[i] == 0 && oldRelation[i] != 0)) { in IsSameRelation()