TizenRT Public API  v2.0 M2
Binary_Manager

Provides APIs for Binary Manager. More...

Files

file  binary_manager.h
 

Functions

int binary_manager_notify_binary_started (void)
 Notify that loaded binary is started to binary manager. More...
 
int binary_manager_register_state_changed_callback (binmgr_statecb_t handler, void *cb_data)
 Set the callback which will be called when the the states of binaries are changed. More...
 
int binary_manager_unregister_state_changed_callback (void)
 Clear the registered callback for the changes of binary state. More...
 

Detailed Description

Provides APIs for Binary Manager.

Function Documentation

int binary_manager_notify_binary_started ( void  )

Notify that loaded binary is started to binary manager.

#include <binary_manager/binary_manager.h>
It sends a message the binary manager to notify that loaded binary is started well.

Returns
A defined value of binmgr_response_result_type in <tinyara/binary_manager.h> 0 (BINMGR_OK) On success. On failure, negative value is returned.
Since
TizenRT v3.0
int binary_manager_register_state_changed_callback ( binmgr_statecb_t  handler,
void *  cb_data 
)

Set the callback which will be called when the the states of binaries are changed.

#include <binary_manager/binary_manager.h>
It sets callback for the changes of binary state.

Returns
A defined value of binmgr_response_result_type in <tinyara/binary_manager.h> 0 (BINMGR_OK) On success. On failure, negative value is returned.
Since
TizenRT v3.0
int binary_manager_unregister_state_changed_callback ( void  )

Clear the registered callback for the changes of binary state.

#include <binary_manager/binary_manager.h>
It clears registered callback for the changes of binary state.

Returns
A defined value of binmgr_response_result_type in <tinyara/binary_manager.h> 0 (BINMGR_OK) On success. On failure, negative value is returned.
Since
TizenRT v3.0