- combine similar functions in telnet_server.c
git-svn-id: svn://svn.berlios.de/openocd/trunk@301 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -46,10 +46,10 @@ extern int log_register_commands(struct command_context_s *cmd_ctx);
|
||||
extern int log_init(struct command_context_s *cmd_ctx);
|
||||
extern int set_log_output(struct command_context_s *cmd_ctx, FILE *output);
|
||||
|
||||
typedef void (*logCallback)(void *privData, const char *file, int line,
|
||||
typedef void (*logCallback)(void *priv, const char *file, int line,
|
||||
const char *function, const char *format, va_list args);
|
||||
|
||||
void log_setCallback(logCallback callback, void *privData);
|
||||
extern void log_setCallback(logCallback callback, void *priv);
|
||||
|
||||
extern int debug_level;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user