* please see the file GPL in the top level source directory.
*/
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include <lib-lib/lib-lib.h>
-#include <unistd.h>
#include <netinet/in.h>
#include <netdb.h>
-#include <stdlib.h>
-#include <fcntl.h>
-#include <sys/types.h>
#include <sys/socket.h>
-#include <string.h>
-#include <errno.h>
-#include <lib-lib/mem.h>
-#include <lib-lib/str.h>
-#include <lib-lib/macros.h>
+#include <lib-ui/curses.h>
#include "mutt.h"
#include "globals.h"
return rc;
}
-int mutt_socket_write_d (CONNECTION * conn, const char *buf, int dbg)
+int mutt_socket_write(CONNECTION * conn, const char *buf)
{
int rc;
int len;
return 1;
}
-int mutt_socket_readln_d (char *buf, ssize_t buflen, CONNECTION * conn,
- int dbg)
+int mutt_socket_readln(char *buf, ssize_t buflen, CONNECTION * conn)
{
char ch;
ssize_t i;