4 * \defgroup AjaxAutoCompletion ajax-powered autocompletion...
12 * \brief Recipient autocompletion results
13 * \param partial the account to search for ??????
15 void recp_autocomplete(char *partial) {
19 output_headers(0, 0, 0, 0, 0, 0);
21 wprintf("Content-type: text/html\r\n"
23 "Connection: close\r\n"
24 "Pragma: no-cache\r\n"
25 "Cache-Control: no-store\r\n",
31 serv_printf("AUTO %s", partial);
32 serv_getln(buf, sizeof buf);
34 while(serv_getln(buf, sizeof buf), strcmp(buf, "000")) {
35 extract_token(name, buf, 0, '|', sizeof name);