mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
Add destroy method for peer instance
This commit is contained in:
@@ -73,6 +73,8 @@ typedef struct {
|
||||
|
||||
DLLAPI PeerPtr* CreatePeer(const Params* params);
|
||||
|
||||
DLLAPI void DestroyPeer(PeerPtr* peer_ptr);
|
||||
|
||||
DLLAPI int Init(PeerPtr* peer_ptr, const char* user_id);
|
||||
|
||||
DLLAPI int CreateConnection(PeerPtr* peer_ptr, const char* transmission_id,
|
||||
|
||||
Reference in New Issue
Block a user