pjsua_enum_accs method

int pjsua_enum_accs(
  1. Pointer<pjsua_acc_id> ids,
  2. Pointer<UnsignedInt> count
)

Enumerate all account currently active in the library. This will fill the array with the account Ids, and application can then query the account information for each id with #pjsua_acc_get_info().

@see pjsua_acc_enum_info().

@param ids Array of account IDs to be initialized. @param count In input, specifies the maximum number of elements. On return, it contains the actual number of elements.

@return PJ_SUCCESS on success, or the appropriate error code.

Implementation

int pjsua_enum_accs(
  ffi.Pointer<pjsua_acc_id> ids,
  ffi.Pointer<ffi.UnsignedInt> count,
) {
  return _pjsua_enum_accs(
    ids,
    count,
  );
}