Functions
callback_from_rust.cpp File Reference
#include "callback_from_rust.h"
#include <signal.h>
#include "rust_functions.h"
Include dependency graph for callback_from_rust.cpp:

Go to the source code of this file.

Functions

PluginLoadResult create_data_callback_ffi (char *target_ip, uint16_t target_port, char *plugin_type, char *plugin_param)
 
void create_peer_callback_ffi (char *peer_id, char *token)
 
void data_connection_close_event_callback_ffi (uint16_t port_num)
 
Component< CallbackFromRustgetCallbackFromRustComponent ()
 
void peer_deleted_callback_ffi ()
 
void release_string_ffi (char *str)
 

Function Documentation

◆ create_data_callback_ffi()

PluginLoadResult create_data_callback_ffi ( char *  target_ip,
uint16_t  target_port,
char *  plugin_type,
char *  plugin_param 
)

Definition at line 19 of file callback_from_rust.cpp.

◆ create_peer_callback_ffi()

void create_peer_callback_ffi ( char *  peer_id,
char *  token 
)

Definition at line 12 of file callback_from_rust.cpp.

◆ data_connection_close_event_callback_ffi()

void data_connection_close_event_callback_ffi ( uint16_t  port_num)

Definition at line 26 of file callback_from_rust.cpp.

◆ getCallbackFromRustComponent()

Component<CallbackFromRust> getCallbackFromRustComponent ( )

Definition at line 81 of file callback_from_rust.cpp.

◆ peer_deleted_callback_ffi()

void peer_deleted_callback_ffi ( )

Definition at line 17 of file callback_from_rust.cpp.

◆ release_string_ffi()

void release_string_ffi ( char *  str)

Definition at line 31 of file callback_from_rust.cpp.



skyway
Author(s): Toshiya Nakakura
autogenerated on Sat Apr 15 2023 02:08:21