Searched refs:dup (Results 1 – 1 of 1) sorted by relevance
56 srtm_message_t dup; in SRTM_Message_Duplicate() local60 dup = (srtm_message_t)SRTM_MessagePool_Alloc(sizeof(struct _srtm_message) + msg->dataLen); in SRTM_Message_Duplicate()62 if (dup != NULL) in SRTM_Message_Duplicate()64 (void)memcpy(dup, msg, sizeof(struct _srtm_message)); in SRTM_Message_Duplicate()67 dup->data = dup + 1; in SRTM_Message_Duplicate()69 SRTM_List_Init(&dup->node); in SRTM_Message_Duplicate()72 return dup; in SRTM_Message_Duplicate()