Function anjay_transport_is_offline

Function Documentation

bool anjay_transport_is_offline(anjay_t *anjay, anjay_transport_set_t transport_set)

Checks whether all the specified transports are in offline mode.

Parameters:
  • anjay – Anjay object to operate on.

  • transport_set – Set of transports to check.

Returns:

true if all of the transports speicifed by transport_set are in offline mode, false otherwise