| ︙ | | | ︙ | |
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
|
};
struct Finder {
struct Slice text;
struct Slice desired;
size_t pos;
};
// Os
// system specifics
#if __target_os__ == __TargetOs_windows__
#elif __target_os__ == __TargetOs_linux__
struct __OsLinux_timespec__ {
time_t tv_sec; /* seconds */
long tv_nsec; /* nanoseconds */
|
<
|
567
568
569
570
571
572
573
574
575
576
577
578
579
580
|
};
struct Finder {
struct Slice text;
struct Slice desired;
size_t pos;
};
// Os
// system specifics
#if __target_os__ == __TargetOs_windows__
#elif __target_os__ == __TargetOs_linux__
struct __OsLinux_timespec__ {
time_t tv_sec; /* seconds */
long tv_nsec; /* nanoseconds */
|
| ︙ | | | ︙ | |
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
|
FILE* console_input_handle;
__OsConsoleOutputHandle__ console_output_handle;
#else
#error "not implemented current __target_os__ or not defined. (expected __TargetOs_ value)"
#endif
};
// Scalpi
// math
struct __Scalpi_math_d2_U_Pos__ {
size_t x;
size_t y;
};
|
<
|
643
644
645
646
647
648
649
650
651
652
653
654
655
656
|
FILE* console_input_handle;
__OsConsoleOutputHandle__ console_output_handle;
#else
#error "not implemented current __target_os__ or not defined. (expected __TargetOs_ value)"
#endif
};
// Scalpi
// math
struct __Scalpi_math_d2_U_Pos__ {
size_t x;
size_t y;
};
|
| ︙ | | | ︙ | |
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
|
struct __ScalpiTerminal__ {
struct __ScalpiConsole__ *console;
struct __OsConsoleFlags__ system_flags;
struct __ScalpiTerminalInput__ input;
struct __ScalpiTerminalOutput__ output;
};
// crypto
// Sha1_Streaming
struct Sha1_Streaming {
uint32_t state[5];
char block [Sha1_block_size];
size_t buf_len; // current?filling level of block
uint64_t total_len;
};
struct RoundParam {uint32_t a; uint32_t b; uint32_t c; uint32_t d; uint32_t e; uint32_t i;};
// network
// Scalpi_network_tcp_Ip
// ip
struct Scalpi_network_tcp_Ip {
uint8_t address[4];
uint16_t port;
};
|
<
<
|
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
|
struct __ScalpiTerminal__ {
struct __ScalpiConsole__ *console;
struct __OsConsoleFlags__ system_flags;
struct __ScalpiTerminalInput__ input;
struct __ScalpiTerminalOutput__ output;
};
// crypto
// Sha1_Streaming
struct Sha1_Streaming {
uint32_t state[5];
char block [Sha1_block_size];
size_t buf_len; // current?filling level of block
uint64_t total_len;
};
struct RoundParam {uint32_t a; uint32_t b; uint32_t c; uint32_t d; uint32_t e; uint32_t i;};
// network
// Scalpi_network_tcp_Ip
// ip
struct Scalpi_network_tcp_Ip {
uint8_t address[4];
uint16_t port;
};
|
| ︙ | | | ︙ | |
772
773
774
775
776
777
778
779
780
781
782
783
784
785
|
struct Scalpi_network_tcp_http_WebSocket_Parser {
size_t frame_len;
size_t header_len;
char* message; // no null
size_t message_len;
};
// App
struct App {
struct __OsHelper__ __App_osHelper__;
struct Scalpi_Logger logger;
uint64_t tick;
};
// function prototypes
|
>
>
>
>
>
|
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
|
struct Scalpi_network_tcp_http_WebSocket_Parser {
size_t frame_len;
size_t header_len;
char* message; // no null
size_t message_len;
};
// App
struct __AppEditorHistoryNote__ {
__ScalpiConsoleAnsiInputKey__ key;
struct __ScalpiMemListLink__ link;
};
struct App {
struct __OsHelper__ __App_osHelper__;
struct Scalpi_Logger logger;
uint64_t tick;
};
// function prototypes
|
| ︙ | | | ︙ | |