1 #ifndef SCAN_CCNS2_H
2 #define SCAN_CCNS2_H
3 
4 #include "be13_api/sbuf.h"
5 
6 /* scan_ccns2.cpp --- here because it's used in both scan_accts.flex and scan_ccns2.cpp
7  */
8 bool  valid_ccn(const char *buf,int buflen);
9 bool  valid_phone(const sbuf_t &sbuf,size_t pos,size_t len);
10 bool  valid_bitcoin_address(const char *buf,size_t buflen);
11 void  build_unbase58();
12 bool  unbase58(const char *s,uint8_t *out,size_t len);
13 extern int scan_ccns2_debug;
14 #endif
15