src/modules/systemd/dbus.c
/*
 * dbus_message_iter_next_n calls dbus_message_iter_next n times and returns
 * non-zero if it reaches the end of the iterator.
 */
dbus_message_iter_next_n calls dbus_message_iter_next n times and returns
non-zero if it reaches the end of the iterator.
dbus_message_iter_next_n calls dbus_message_iter_next n times and returns non - zero if it reaches the end of the iterator .
int dbus_message_iter_next_n(DBusMessageIter *iter, int n)
{
  for (int i = 0; i < n; i++)
    if (!dbus_message_iter_next(iter))
      return 0;
  return 1;
}
int dbus_message_iter_next_n ( DBusMessageIter * iter , int n ) { for ( int i = 0 ; i < n ; i ++ ) if ( ! dbus_message_iter_next ( iter ) ) return 0 ; return 1 ; }
dbus_message_iter_next_n calls dbus_message_iter_next n times and returns
 non-zero if it reaches the end of the iterator.
dbus_message_iter_next_n calls dbus_message_iter_next n times and returns non - zero if it reaches the end of the iterator .