server/modules/selva/module/hierarchy.h
static inline char *SelvaHierarchy_GetNodeId(Selva_NodeId id, const struct SelvaModify_HierarchyNode *node) {
    const char *buf = (const char *)node;

    /* We know the id is the first thing in the struct. */
    memcpy(id, buf, SELVA_NODE_ID_SIZE);

    return id;
}
/**
 * Copy nodeId to a buffer.
 */
Copy nodeId to a buffer.
Copy nodeId to a buffer .
static inline char *SelvaHierarchy_GetNodeId(Selva_NodeId id, const struct SelvaModify_HierarchyNode *node) {
    const char *buf = (const char *)node;
    memcpy(id, buf, SELVA_NODE_ID_SIZE);
    return id;
}
static inline char * SelvaHierarchy_GetNodeId ( Selva_NodeId id , const struct SelvaModify_HierarchyNode * node ) { const char * buf = ( const char * ) node ; memcpy ( id , buf , SELVA_NODE_ID_SIZE ) ; return id ; }
Copy nodeId to a buffer.
Copy nodeId to a buffer .
/* We know the id is the first thing in the struct. */