include/optik/optik_mod.h
static inline int
optik_is_greater_version_session(cache_meta curr, cache_meta receiv, int machine_id)
{
    return curr.version < receiv.version ||
            ((curr.version - 1) == receiv.version && machine_id < receiv.cid);
}
/* Equivalent to optik_is_greater, this is used when cid is used as session id*/
Equivalent to optik_is_greater, this is used when cid is used as session id
Equivalent to optik_is_greater this is used when cid is used as session id
static inline int
optik_is_greater_version_session(cache_meta curr, cache_meta receiv, int machine_id)
{
    return curr.version < receiv.version ||
            ((curr.version - 1) == receiv.version && machine_id < receiv.cid);
}
static inline int optik_is_greater_version_session ( cache_meta curr , cache_meta receiv , int machine_id ) { return curr . version < receiv . version || ( ( curr . version - 1 ) == receiv . version && machine_id < receiv . cid ) ; }
Equivalent to optik_is_greater, this is used when cid is used as session id
Equivalent to optik_is_greater this is used when cid is used as session id