aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-03-13 23:36:42 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-03-13 23:36:42 +0000
commitbbe77448fcca03bec5bf6cdadb6c37dd32f067b8 (patch)
treec48ba605243c9629bd15a625889c23ce1b1ecbca /imap.c
parent599f1a573263bf12b3d44920e79d36560f9bd7c9 (diff)
downloadfetchmail-bbe77448fcca03bec5bf6cdadb6c37dd32f067b8.tar.gz
fetchmail-bbe77448fcca03bec5bf6cdadb6c37dd32f067b8.tar.bz2
fetchmail-bbe77448fcca03bec5bf6cdadb6c37dd32f067b8.zip
Nake methods invisible except through the driver's table.
svn path=/trunk/; revision=3249
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/imap.c b/imap.c
index 40b7b386..d92dad03 100644
--- a/imap.c
+++ b/imap.c
@@ -35,7 +35,7 @@ static flag do_idle;
static char capabilities[MSGBUFSIZE+1];
static unsigned int *unseen_messages;
-int imap_ok(int sock, char *argbuf)
+static int imap_ok(int sock, char *argbuf)
/* parse command response */
{
char buf[MSGBUFSIZE+1];
@@ -210,7 +210,7 @@ static int do_imap_ntlm(int sock, struct query *ctl)
}
#endif /* NTLM */
-int imap_canonicalize(char *result, char *raw, int maxlen)
+static int imap_canonicalize(char *result, char *raw, int maxlen)
/* encode an IMAP password as per RFC1730's quoting conventions */
{
int i, j;
@@ -227,7 +227,7 @@ int imap_canonicalize(char *result, char *raw, int maxlen)
return(i);
}
-int imap_getauth(int sock, struct query *ctl, char *greeting)
+static int imap_getauth(int sock, struct query *ctl, char *greeting)
/* apply for connection authorization */
{
int ok = 0;