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

[*] Renames

parent 646db132
No related branches found
No related tags found
No related merge requests found
......@@ -24,12 +24,12 @@
#pragma once
#include "dap_chain.h"
#include "dap_chain_cs_dag_event.h"
typedef struct dap_cs_chain_dag
typedef struct dap_chain_cs_dag
{
dap_chain_t * chain;
dap_chain_callback_new_t callback_new;
dap_chain_callback_t callback_delete;
dap_chain_dag_cs_event_callback_ptr_t callback_event_input;
dap_chain_cs_dag_event_callback_ptr_t callback_event_input;
void * _pvt;
void * _inheritor;
......@@ -41,5 +41,5 @@ int dap_chain_cs_dag_init();
void dap_chain_cs_dag_deinit();
dap_chain_cs_dag_t *dap_chain_cs_dag_new(dap_chain_t * a_chain);
void dap_chain_cs_dag_delete(dap_chain_dag_t * a_dag);
void dap_chain_cs_dag_delete(dap_chain_cs_dag_t * a_dag);
......@@ -27,7 +27,7 @@
#include "dap_chain_datum.h"
typedef struct dap_chain_cs_dag dap_chain_dag_t;
typedef struct dap_chain_cs_dag dap_chain_cs_dag_t;
typedef struct dap_chain_cs_dag_event {
struct {
......@@ -38,6 +38,7 @@ typedef struct dap_chain_cs_dag_event {
} header;
uint8_t hashes_n_signs_n_datum[]; // Hashes, signes and datum
} dap_chain_cs_dag_event_t;
typedef int (*dap_chain_cs_dag_event_callback_ptr_t)(dap_chain_cs_dag_t *, dap_chain_cs_dag_event_t *);
dap_chain_cs_dag_event_t * dap_chain_cs_dag_event_new(dap_chain_cs_dag_t * a_dag, dap_chain_datum_t * a_datum,
......
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