Erlang integration (basic) done. Docs updated
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
#if !defined __AE__BASE64_H
|
||||
#define __AE__BASE64_H
|
||||
|
||||
char *bin2hex(unsigned char*, int);
|
||||
unsigned char *hex2bin(const char*);
|
||||
|
||||
#endif
|
||||
+5
-1
@@ -1,2 +1,6 @@
|
||||
#if !defined __AE_ECRECOVER_H
|
||||
#define __AE_ECRECOVER_H
|
||||
|
||||
void ecrecover(const unsigned char *input, unsigned char *output);
|
||||
int ecrecover(const unsigned char *input, unsigned char *output);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
#if !defined __AE__ERL_COMM_H
|
||||
#define __AE__ERL_COMM_H
|
||||
|
||||
#ifdef DEBUG
|
||||
#include <stdio.h>
|
||||
#define DEBUG_PRINTF printf
|
||||
#else
|
||||
#define DEBUG_PRINTF
|
||||
#endif
|
||||
|
||||
typedef unsigned char byte;
|
||||
|
||||
#define ECRECOVER_BUFFER_MAX 1024
|
||||
|
||||
int read_cmd(byte *buf);
|
||||
int write_cmd(byte *buf, int len);
|
||||
int read_exact(byte *buf, int len);
|
||||
int write_exact(byte *buf, int len);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user