#ifndef SUIT_ASSETS_H #define SUIT_ASSETS_H #include "conf.h" #include "resolve.h" // What the stores of the wardrobes that take part hold: the skills, agents and // commands, each marked with its wardrobe (docs/conf-format.md, "More than one // wardrobe"). The names point into a buffer this file keeps, valid until the // process ends; a process loads once. constexpr size_t ASSET_TEXT_MAX = 262144; // Fill A from the stores of W, each kind in byte order of name, equal names in // the order of their wardrobes. Returns 0, or 1 after a message when a folder // cannot be read or there are too many assets. int assets_load(const Wards *w, Assets *a); #endif