Skip to main content
Version: Dev (main)

QarOnboardLocalAppTagExt Struct

Extension: the app tag of a local source app, telling several instances of one approved app apart. More...

Declaration​

struct QarOnboardLocalAppTagExt { ... }

Included Headers​

Public Member Attributes Index​

const char *app_tag

Required; the app tag (rules above). Copied before the call returns. More...

QarStructureHeaderheader

Description​

Extension: the app tag of a local source app, telling several instances of one approved app apart.

Chain into QarOnboardInit.header.next next to QarOnboardLocalAppExt; it is refused with any other mode (QAR_STATUS_ARGUMENT_NOT_SUPPORTED).

The hub remembers a peer id per approval and tag: the next start of the app with the same tag gets the same peer id while no other live process holds it, and a one-off id otherwise. Absent, the app has the default tag, which is remembered the same way. The hub keeps at most 64 tags per approval, dropping the least recently used, forgets a tag unused for 30 days, and forgets all of them when the approval is revoked or narrowed.

An app tag is an identity key, treated like the common name of an app volume or GUI panel:

  • non-empty printable ASCII (0x20-0x7E, no control characters), no space at either end, at most QAR_MAX_APP_TAG_LENGTH bytes; anything else is refused with QAR_STATUS_ARGUMENT_NOT_SUPPORTED. Put non-ASCII text in QarPeerPresentation::display_name.
  • never starting with member/, which the hub keeps for the apps of its member hubs (QAR_STATUS_ARGUMENT_NOT_SUPPORTED).
  • compared exactly (case-sensitive) and kept constant across versions of the app.
  • a DNS-style name scoped by the app is recommended, e.g. left.terraexplorer.skyline.

Definition at line 2018 of file qar_streaming.h.

Public Member Attributes​

app_tag​

const char* QarOnboardLocalAppTagExt::app_tag

Required; the app tag (rules above). Copied before the call returns.

Definition at line 2023 of file qar_streaming.h.

header​

QarStructureHeader QarOnboardLocalAppTagExt::header

QAR_STRUCTURE_TYPE_RUNTIME_ONBOARD_LOCAL_APP_TAG_EXT

Definition at line 2021 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.