![]() |
BSB Developer Docs
|
Common definitions regarding JavaScript apps. More...
#include <stdbool.h>Go to the source code of this file.
Macros | |
| #define | JS_APP_ID_LEN_MAX 32 |
| #define | JS_APP_DATA_MOUNT_POINT "/ext/data" |
| #define | JS_APP_DATA_PREFIX "/ext/apps_data/js_apps" |
Functions | |
| bool | js_app_is_valid_id (const char *app_id) |
| Check if an application ID is valid. | |
Common definitions regarding JavaScript apps.
| bool js_app_is_valid_id | ( | const char * | app_id | ) |
Check if an application ID is valid.
Valid application IDs correspond to the following regular expression: ^[a-zA-Z0-9_-][a-zA-Z0-9_-.]{0,31}$
| [in] | app_id | zero-terminated string to be validated |