BONE_CALLBACK_INVITEUSER

Description
Called to report the outcome of bone_inviteuser().

Example

bone_setcallback(BONE_CALLBACK_INVITEUSER, callback_inviteuser);

//login and join channel #bonerocks here


if (bone_inviteuser(bnd,"#bonerocks","ima"))
    printf("Unable to invite user (reason %d).\n",bone_getlasterror());

void callback_inviteuser(BONEHANDLE bnd, const char *errordetails, int errorcode)
{
    if (errorcode)
    {
        printf("%s (reason: %d).", errordetails, errorcode);
    }
}