Skip to content
Snippets Groups Projects
Commit cb87b1f9 authored by Dmitriy Gerasimov's avatar Dmitriy Gerasimov
Browse files

[*] Node core files

parent b40ad6c3
No related branches found
No related tags found
No related merge requests found
# Prerequisites # Prerequisites
*.d *.d
*.txt.user
# Object files # Object files
*.o *.o
......
[general] [general]
port = 56001 port = 49123
Subproject commit 8fd1d21201bf36461bd40249236d27edbd4dff73 Subproject commit 81377864c37166c8ec9f5e9e02775c05618109f8
Subproject commit b7c3f362f85be6695d8fe431dcf6b74ec1944793 Subproject commit 2fa0658778d991f780dd55d7f15d17deb5503070
Subproject commit 7194c7a9ed7f234ad30aeba4f508ee9f027cd915 Subproject commit 3a8672290289cde03708148e8a5300a17ff3906f
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
*/ */
#include "node_manager.h" #include "node_manager.h"
#define LOG_TAG "main"
#define LOG_TAG "node_manager"
void client_new(dap_udp_client_t *client,void * arg){ void client_new(dap_udp_client_t *client,void * arg){
...@@ -127,4 +128,4 @@ void node_manager_start(node_manager_t* manager){ ...@@ -127,4 +128,4 @@ void node_manager_start(node_manager_t* manager){
sh->client_delete_callback = *client_disconnect; sh->client_delete_callback = *client_disconnect;
dap_udp_server_loop(sh); dap_udp_server_loop(sh);
dap_udp_server_delete(sh); dap_udp_server_delete(sh);
} }
\ No newline at end of file
...@@ -40,13 +40,13 @@ typedef struct node_manager{ ...@@ -40,13 +40,13 @@ typedef struct node_manager{
} node_manager_t; } node_manager_t;
extern int node_manager_init(); int node_manager_init();
node_manager_t* new_node_manager(char* config_file); // Create new manager structure node_manager_t* new_node_manager(char* config_file); // Create new manager structure
extern void node_manager_deinit(); void node_manager_deinit();
extern void node_manager_start(node_manager_t* manager); // Start manager work void node_manager_start(node_manager_t* manager); // Start manager work
#endif #endif
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment