4 // with checksum + version num
5 #define PUBONION_LEN (PUBLIC_LEN + 3)
7 #define PKPREFIX_SIZE (29 + 3)
8 #define SKPREFIX_SIZE (29 + 3)
10 extern const char * const pkprefix
;
11 extern const char * const skprefix
;
13 #define FORMATTED_PUBLIC_LEN (PKPREFIX_SIZE + PUBLIC_LEN)
14 #define FORMATTED_SECRET_LEN (SKPREFIX_SIZE + SECRET_LEN)
16 // full onion address, WITHOUT newline or terminating nil char
19 extern pthread_mutex_t fout_mutex
;
22 extern size_t onionendpos
; // end of .onion within string
23 extern size_t direndpos
; // end of dir before .onion within string
24 extern size_t printstartpos
; // where to start printing from
25 extern size_t printlen
; // precalculated, related to printstartpos