bark_app_ctx(3)Bark

NAME

bark_app_ctx - Runtime context passed to all Bark application callbacks.

SYNOPSIS

#include <app_main.h>

Public Attributes

const char * origin
bark_view_t * view
void * user
char ticket [256]
int upgraded
int should_quit

Detailed Description

Runtime context passed to all Bark application callbacks.

Member Data Documentation

const char* bark_app_ctx::origin

Backend origin (browser origin on web, default_origin on native).

int bark_app_ctx::should_quit

Set non-zero to exit the native event loop cleanly.

char bark_app_ctx::ticket[256]

Active signed session ticket string (NUL-terminated).

int bark_app_ctx::upgraded

Non-zero after a user session upgrade has succeeded.

void* bark_app_ctx::user

Opaque application state allocated in init().

bark_view_t* bark_app_ctx::view

Optional view bound by init() for the native event loop.

Author

Generated automatically by Doxygen for Bark from the source code.