#ifndef _MUTT_SOCKET_H_
#define _MUTT_SOCKET_H_ 1
+#include <lib-lua/lib-lua.h>
#include "account.h"
#include "mutt_ssl.li"
int mutt_socket_readln(char *buf, ssize_t buflen, CONNECTION * conn);
int mutt_socket_write(CONNECTION * conn, const char *buf);
+int mutt_socket_readln2(buffer_t *buf, CONNECTION *conn);
+
int mutt_ssl_starttls (CONNECTION * conn);
int mutt_ssl_socket_setup (CONNECTION * conn);