/* Return one of USERSTATUS values. * Values unknown to your application should be represented as USERSTATUS_NONE. * As above, the self variant will return our own USERSTATUS. * If friendnumber is invalid, this shall return USERSTATUS_INVALID. */ uint8_t tox_get_user_status(const Tox *tox, int32_t friendnumber) { const Messenger *m = tox; return m_get_userstatus(m, friendnumber); }
/* Return one of USERSTATUS values. * Values unknown to your application should be represented as USERSTATUS_NONE. * As above, the self variant will return our own USERSTATUS. * If friendnumber is invalid, this shall return USERSTATUS_INVALID. */ USERSTATUS tox_get_userstatus(void *tox, int friendnumber) { Messenger *m = tox; return m_get_userstatus(m, friendnumber); }
/* Return one of USERSTATUS values. * Values unknown to your application should be represented as USERSTATUS_NONE. * As above, the self variant will return our own USERSTATUS. * If friendnumber is invalid, this shall return USERSTATUS_INVALID. */ TOX_USERSTATUS tox_get_userstatus(Tox *tox, int friendnumber) { Messenger *m = tox; return (TOX_USERSTATUS)m_get_userstatus(m, friendnumber); }