receive packets from mrzcpd; log output supports stderr or file

This commit is contained in:
luwenpeng
2024-01-30 18:07:08 +08:00
parent 7d7cc8e90c
commit 6d1f352bc9
18 changed files with 810 additions and 141 deletions

27
src/stellar/logo.h Normal file
View File

@@ -0,0 +1,27 @@
#ifndef _LOGO_H
#define _LOGO_H
#ifdef __cpluscplus
extern "C"
{
#endif
/* _ _ _
* ___ | |_ ___ | | | | __ _ _ __
* / __| | __| / _ \ | | | | / _` | | '__|
* \__ \ | |_ | __/ | | | | | (_| | | |
* |___/ \__| \___| |_| |_| \__,_| |_|
*/
static const char logo_str[] =
" _ _ _\n"
" ___ | |_ ___ | | | | __ _ _ __\n"
" / __| | __| / _ \\ | | | | / _` | | '__|\n"
" \\__ \\ | |_ | __/ | | | | | (_| | | |\n"
" |___/ \\__| \\___| |_| |_| \\__,_| |_|\n";
#ifdef __cpluscplus
}
#endif
#endif