Skip to content
Snippets Groups Projects
Commit 38be772b authored by dmitriy.gerasimov's avatar dmitriy.gerasimov
Browse files

Squashed commit of the following:

commit 255391fe
Author: Dmtiriy Gerasimov <naeper@demlabs.net>
Date:   Tue Apr 30 23:02:40 2019 +0700

    [*] Fixes
parent 1ed50264
No related branches found
No related tags found
No related merge requests found
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
#define LOG_TAG "chain_net_srv" #define LOG_TAG "chain_net_srv"
size_t m_uid_count; static size_t m_uid_count;
dap_chain_net_srv_uid_t * m_uid; static dap_chain_net_srv_uid_t * m_uid;
/** /**
* @brief dap_chain_net_srv_init * @brief dap_chain_net_srv_init
...@@ -74,7 +74,11 @@ dap_chain_net_srv_t * dap_chain_net_srv_get(dap_chain_net_srv_uid_t a_uid) ...@@ -74,7 +74,11 @@ dap_chain_net_srv_t * dap_chain_net_srv_get(dap_chain_net_srv_uid_t a_uid)
* @brief dap_chain_net_srv_count * @brief dap_chain_net_srv_count
* @return * @return
*/ */
<<<<<<< HEAD
const size_t dap_chain_net_srv_count() const size_t dap_chain_net_srv_count()
=======
size_t dap_chain_net_srv_count(void)
>>>>>>> bugfix-12345
{ {
} }
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
*/ */
#pragma once #pragma once
#include "dap_chain_node_ctl.h"
#include "dap_chain_net_srv_common.h" #include "dap_chain_net_srv_common.h"
//Classes of services //Classes of services
...@@ -39,7 +38,6 @@ enum { ...@@ -39,7 +38,6 @@ enum {
typedef struct dap_chain_net_srv typedef struct dap_chain_net_srv
{ {
dap_chain_node_ctl_t * node;
dap_chain_net_srv_uid_t uid; // Unique ID for service. dap_chain_net_srv_uid_t uid; // Unique ID for service.
void * _internal; void * _internal;
...@@ -72,7 +70,15 @@ int dap_chain_net_srv_init(); ...@@ -72,7 +70,15 @@ int dap_chain_net_srv_init();
void dap_chain_net_srv_deinit(); void dap_chain_net_srv_deinit();
void dap_chain_net_srv_add(dap_chain_net_srv_t * a_srv); void dap_chain_net_srv_add(dap_chain_net_srv_t * a_srv);
<<<<<<< HEAD
dap_chain_net_srv_t * dap_chain_net_srv_get(dap_chain_net_srv_uid_t a_uid); dap_chain_net_srv_t * dap_chain_net_srv_get(dap_chain_net_srv_uid_t a_uid);
const size_t dap_chain_net_srv_count(); const size_t dap_chain_net_srv_count();
const dap_chain_net_srv_uid_t * dap_chain_net_srv_list(); const dap_chain_net_srv_uid_t * dap_chain_net_srv_list();
=======
void dap_chain_net_srv_del(dap_chain_net_srv_t * a_srv);
void dap_chain_net_srv_del_all(void);
dap_chain_net_srv_t * dap_chain_net_srv_get(dap_chain_net_srv_uid_t *a_uid);
size_t dap_chain_net_srv_count(void);
const dap_chain_net_srv_uid_t * dap_chain_net_srv_list(void);
>>>>>>> bugfix-12345
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