mirror of
https://github.com/AmbiML/sparrow-kata-full.git
synced 2025-07-15 15:01:45 +00:00
Regenerate C interface bindings.
Change-Id: I298dd002508da5c94e81c64634ae6d97194d8cd5 GitOrigin-RevId: ff1cc5fa27f6e194f5244d6e49df800ac64fecc7
This commit is contained in:
parent
746616b6d6
commit
0286d516ce
@ -28,6 +28,8 @@ typedef struct MemoryManagerStats {
|
||||
uintptr_t overhead_bytes;
|
||||
uintptr_t allocated_objs;
|
||||
uintptr_t total_requested_objs;
|
||||
uintptr_t untyped_slab_too_small;
|
||||
uintptr_t out_of_memory;
|
||||
} MemoryManagerStats;
|
||||
|
||||
#endif /* __MEMORY_MANAGER_BINDINGS_H__ */
|
||||
|
@ -1,4 +1,4 @@
|
||||
procedure MlCoordinatorInterface {
|
||||
void execute();
|
||||
void execute(in string bundle_id, in string model_id);
|
||||
void set_continuous_mode(bool mode);
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
procedure PackageManagementInterface {
|
||||
include <ProcessManagerBindings.h>;
|
||||
|
||||
ProcessManagerError install(in char pkg_buffer[], out RawBundleIdData raw_data);
|
||||
ProcessManagerError install(in char request[], out RawBundleIdData raw_data);
|
||||
ProcessManagerError uninstall(in string bundleId);
|
||||
};
|
||||
|
@ -10,16 +10,20 @@
|
||||
typedef enum ProcessManagerError {
|
||||
Success = 0,
|
||||
BundleIdInvalid,
|
||||
BundleDataInvalid,
|
||||
PackageBufferLenInvalid,
|
||||
BundleNotFound,
|
||||
BundleFound,
|
||||
BundleRunning,
|
||||
NoSpace,
|
||||
UnknownError,
|
||||
DeserializeError,
|
||||
SerializeError,
|
||||
ObjCapInvalid,
|
||||
InstallFailed,
|
||||
UninstallFailed,
|
||||
StartFailed,
|
||||
StopFailed,
|
||||
SuspendFailed,
|
||||
ResumeFailed,
|
||||
} ProcessManagerError;
|
||||
|
||||
typedef uint8_t RawBundleIdData[RAW_BUNDLE_ID_DATA_SIZE];
|
||||
|
@ -3,14 +3,14 @@
|
||||
|
||||
/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */
|
||||
|
||||
#define SECURITY_REQUEST_DATA_SIZE 2048
|
||||
|
||||
#define SECURITY_REPLY_DATA_SIZE 2048
|
||||
|
||||
typedef enum SecurityRequest {
|
||||
SrEcho = 0,
|
||||
SrInstall,
|
||||
SrUninstall,
|
||||
SrSizeBuffer,
|
||||
SrGetManifest,
|
||||
SrLoadApplication,
|
||||
SrLoadModel,
|
||||
SrReadKey,
|
||||
@ -23,19 +23,28 @@ typedef enum SecurityRequestError {
|
||||
SreBundleIdInvalid,
|
||||
SreBundleDataInvalid,
|
||||
SreBundleNotFound,
|
||||
SreDeleteFirst,
|
||||
SreKeyNotFound,
|
||||
SrePackageBufferLenInvalid,
|
||||
SreValueInvalid,
|
||||
SreKeyInvalid,
|
||||
SreDeserializeFailed,
|
||||
SreSerializeFailed,
|
||||
SreCapAllocFailed,
|
||||
SreCapMoveFailed,
|
||||
SreObjCapInvalid,
|
||||
SreEchoFailed,
|
||||
SreInstallFailed,
|
||||
SreUninstallFailed,
|
||||
SreSizeBufferFailed,
|
||||
SreGetManifestFailed,
|
||||
SreLoadApplicationFailed,
|
||||
SreLoadModelFailed,
|
||||
SreReadFailed,
|
||||
SreWriteFailed,
|
||||
SreDeleteFailed,
|
||||
} SecurityRequestError;
|
||||
|
||||
typedef uint8_t SecurityRequestData[SECURITY_REQUEST_DATA_SIZE];
|
||||
|
||||
typedef uint8_t SecurityReplyData[SECURITY_REPLY_DATA_SIZE];
|
||||
|
||||
#endif /* __SECURITY_COORDINATOR_BINDINGS_H__ */
|
||||
|
@ -15,6 +15,7 @@ typedef enum StorageManagerError {
|
||||
SmeReadFailed,
|
||||
SmeWriteFailed,
|
||||
SmeDeleteFailed,
|
||||
SmeUnknownError,
|
||||
} StorageManagerError;
|
||||
|
||||
typedef uint8_t KeyValueData[KEY_VALUE_DATA_SIZE];
|
||||
|
Loading…
Reference in New Issue
Block a user