• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /barrelfish-2018-10-04/lib/term/client/

Lines Matching refs:client

3  * \brief Filter API for terminal client library.
23 #include <term/client/client.h>
24 #include <term/client/filter.h>
35 * \param client Terminal client state.
40 term_filter_id_t term_client_add_input_filter(struct term_client *client,
45 assert(client != NULL);
46 assert(client->input_filters != NULL);
53 new_filter->id = ++client->max_input_filter_id;
56 collections_list_insert_tail(client->input_filters, new_filter);
64 * \param client Terminal client state.
70 errval_t term_client_remove_input_filter(struct term_client *client,
76 assert(client != NULL);
78 removed = collections_list_remove_if(client->input_filters,
88 void term_client_remove_all_input_filter(struct term_client *client)
90 assert(client != NULL);
91 assert(client->input_filters != NULL);
94 collections_list_remove_if_all(client->input_filters,
99 term_filter_id_t term_client_add_output_filter(struct term_client *client,
104 assert(client != NULL);
105 assert(client->output_filters != NULL);
112 new_filter->id = ++client->max_output_filter_id;
115 collections_list_insert_tail(client->output_filters, new_filter);
120 errval_t term_client_remove_output_filter(struct term_client *client,
126 assert(client != NULL);
128 removed = collections_list_remove_if(client->output_filters,
137 void term_remove_all_output_filter(struct term_client *client)
139 assert(client != NULL);
140 assert(client->input_filters != NULL);
143 collections_list_remove_if_all(client->output_filters,
149 term_filter_id_t term_client_add_echo_filter(struct term_client *client,
154 assert(client != NULL);
155 assert(client->echo_filters != NULL);
162 new_filter->id = ++client->max_echo_filter_id;
165 collections_list_insert_tail(client->echo_filters, new_filter);
170 errval_t term_client_remove_echo_filter(struct term_client *client,
176 assert(client != NULL);
178 removed = collections_list_remove_if(client->echo_filters,
187 void term_client_remove_all_echo_filter(struct term_client *client)
189 assert(client != NULL);
190 assert(client->echo_filters != NULL);
193 collections_list_remove_if_all(client->echo_filters,