Mercurial > repos > blastem
comparison util.h @ 2032:441d5d6cea2f
Make KDEBUG functionality play nice with gdb remote debugging
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 20 Feb 2021 14:52:32 -0800 |
parents | 5a76a7373823 |
children | 237068a25523 |
comparison
equal
deleted
inserted
replaced
2031:0757da8ee702 | 2032:441d5d6cea2f |
---|---|
86 void warning(char *format, ...); | 86 void warning(char *format, ...); |
87 //Prints a debug message to stdout | 87 //Prints a debug message to stdout |
88 void debug_message(char *format, ...); | 88 void debug_message(char *format, ...); |
89 //Disables output of info and debug messages to stdout | 89 //Disables output of info and debug messages to stdout |
90 void disable_stdout_messages(void); | 90 void disable_stdout_messages(void); |
91 //Returns stdout disable status | |
92 uint8_t is_stdout_enabled(void); | |
91 //Deletes a file, returns true on success, false on failure | 93 //Deletes a file, returns true on success, false on failure |
92 uint8_t delete_file(char *path); | 94 uint8_t delete_file(char *path); |
93 //Initializes the socket library on platforms that need it | 95 //Initializes the socket library on platforms that need it |
94 void socket_init(void); | 96 void socket_init(void); |
95 //Sets a sockt to blocking or non-blocking mode | 97 //Sets a sockt to blocking or non-blocking mode |