OpenOCD
tcl_server.h File Reference
Include dependency graph for tcl_server.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int tcl_init (void)
 
bool tcl_is_from_tcl_session (struct command_context *ctx)
 
int tcl_register_commands (struct command_context *cmd_ctx)
 
void tcl_service_free (void)
 

Function Documentation

◆ tcl_init()

int tcl_init ( void  )

Definition at line 287 of file tcl_server.c.

References add_service(), CONNECTION_LIMIT_UNLIMITED, ERROR_OK, LOG_INFO, NULL, tcl_port, and tcl_service_driver.

Referenced by server_init().

◆ tcl_is_from_tcl_session()

bool tcl_is_from_tcl_session ( struct command_context ctx)

Definition at line 297 of file tcl_server.c.

References connection::cmd_ctx, conn, and command_context::output_handler_priv.

Referenced by COMMAND_HANDLER().

◆ tcl_register_commands()

int tcl_register_commands ( struct command_context cmd_ctx)

Definition at line 383 of file tcl_server.c.

References NULL, register_commands(), tcl_command_handlers, and tcl_port.

Referenced by server_register_commands().

◆ tcl_service_free()

void tcl_service_free ( void  )

Definition at line 389 of file tcl_server.c.

References tcl_port.

Referenced by server_free().