Skip to main content
Version: 0.9.0 (next)

QarOnboardCodeExt Struct

Extension: onboard with the short code shown on the hub onboarding screen. More...

Declaration​

struct QarOnboardCodeExt { ... }

Included Headers​

Public Member Attributes Index​

const char *code
QarStructureHeaderheader

Description​

Extension: onboard with the short code shown on the hub onboarding screen.

Without QarOnboardHostExt it finds this user's hub: first through the hub-endpoint.json file the hub writes to the QAROS data root, then through a discovery beacon whose owner is this user, listening up to 6 s. When neither answers, onboarding fails with QAR_STATUS_ONBOARDING_HUB_UNREACHABLE asking for the hub's host:port. To reach a specific hub, chain QarOnboardHostExt.

Definition at line 1443 of file qar_streaming.h.

Public Member Attributes​

code​

const char* QarOnboardCodeExt::code

Required; short code shown on the hub onboarding screen, or the code text of any other invite the hub minted (qar_onboarding_invite_get_code), such as the addressed code (qar-code:...) an app is given by hand. Copied before the call returns. QAROS hands an app it launches a full invite instead: use qar_onboarding_invite_deserialize and QarOnboardInviteExt for that.

Definition at line 1453 of file qar_streaming.h.

header​

QarStructureHeader QarOnboardCodeExt::header

QAR_STRUCTURE_TYPE_RUNTIME_ONBOARD_CODE_EXT

Definition at line 1446 of file qar_streaming.h.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.2.1 by Doxygen 1.9.8.