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

[+] CS blank struct

parent fd2a0ae2
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@
#include "dap_chain_common.h"
struct dap_chain;
typedef struct dap_chain dap_chain_t;
typedef struct dap_chain_cs dap_chain_cs_t;
typedef dap_chain_t* (*dap_chain_callback_new_t)(void);
......@@ -54,6 +55,7 @@ typedef struct dap_chain{
dap_chain_callback_element_add_t callback_element_add; // Accept new element in chain
dap_chain_callback_element_get_first_t callback_element_get_first; // Get the fisrt element from chain
dap_chain_callback_element_get_next_t callback_element_get_next; // Get the next element from chain from the current one
// To hold it in double-linked lists
struct dap_chain * next;
struct dap_chain * prev;
......
......@@ -25,6 +25,9 @@
#include "dap_chain.h"
typedef struct dap_chain_cs{
} dap_chain_cs_t;
int dap_chain_cs_init();
void dap_chain_cs_deinit();
......
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