From bd760bd9791d37fd9df6c556111c566cb973f5c2 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Fri, 9 Sep 2005 22:06:12 +0000 Subject: [PATCH] *** empty log message *** --- webcit/autocompletion.c | 46 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 webcit/autocompletion.c diff --git a/webcit/autocompletion.c b/webcit/autocompletion.c new file mode 100644 index 000000000..5b71a9ebd --- /dev/null +++ b/webcit/autocompletion.c @@ -0,0 +1,46 @@ +/* + * $Id$ + * + * ajax-powered autocompletion... + */ + +#include "webcit.h" + + +/* + * Recipient autocompletion results + */ +void recp_autocomplete(void) { + char buf[1024]; + char name[128]; + + output_headers(0, 0, 0, 0, 0, 0, 0); + + wprintf("Content-type: text/html\r\n" + "Server: %s\r\n" + "Connection: close\r\n" + "Pragma: no-cache\r\n" + "Cache-Control: no-store\r\n", + SERVER); + begin_burst(); + + wprintf(""); + + wprintf("\r\n\r\n"); + wDumpContent(0); +} + -- 2.39.2