Move more functions to utils

This commit is contained in:
Clément Péron
2019-01-04 10:48:57 +01:00
parent 334372c12f
commit 1ad2170560
3 changed files with 60 additions and 45 deletions

View File

@@ -18,6 +18,16 @@
#ifndef _UTILS_H_
#define _UTILS_H_
#include <stdint.h>
#include "uint256.h"
void array_hexstr(char *strbuf, const void *bin, unsigned int len);
void convertUint256BE(uint8_t *data, uint32_t length, uint256_t *target);
int local_strchr(char *string, char ch);
uint32_t getV(txContent_t *txContent);
#endif /* _UTILS_H_ */