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