telnet_connection::current_history is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDtelnet_connection::current_history

telnet_connection::current_history field

Syntax

size_t current_history;

References

LocationReferrerText
telnet_server.h:46
size_t current_history;
telnet_server.c:163telnet_load_history()
t_con->current_history = t_con->next_history > 0 ? i - 1 : 0;
telnet_server.c:188telnet_save_history()
i = t_con->current_history + 1;
telnet_server.c:279telnet_history_go()
t_con->current_history = idx;
telnet_server.c:288telnet_history_up()
size_t last_history = (t_con->current_history > 0) ?
telnet_server.c:289telnet_history_up()
t_con->current_history - 1 :
telnet_server.c:299telnet_history_down()
next_history = (t_con->current_history + 1) % TELNET_LINE_HISTORY_SIZE;
telnet_server.c:308telnet_history_add()
char *prev_line = t_con->history[(t_con->current_history > 0) ?
telnet_server.c:309telnet_history_add()
t_con->current_history - 1 : TELNET_LINE_HISTORY_SIZE-1];
telnet_server.c:322telnet_history_add()
t_con->current_history = t_con->next_history;
telnet_server.c:324telnet_history_add()
free(t_con->history[t_con->current_history]);
telnet_server.c:325telnet_history_add()
t_con->history[t_con->current_history] = strdup("");

Data Use

Functions writing telnet_connection::current_history
Functions reading telnet_connection::current_history
telnet_connection::current_history
Type of telnet_connection::current_history
telnet_connection::current_history
size_t
all items filtered out