From 7a1906a85dab8a4543cc23a213b866eae93a9ba0 Mon Sep 17 00:00:00 2001 From: "Steffen (Daode) Nurpmeso" Date: Sat, 31 May 2014 14:14:24 +0200 Subject: [PATCH] nail.h: some TODO work --- nail.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/nail.h b/nail.h index c35e8949..9c0e10c9 100644 --- a/nail.h +++ b/nail.h @@ -93,6 +93,7 @@ # define NI_MAXHOST 1025 #endif +/* TODO PATH_MAX: fixed-size buffer is always wrong (think NFS) */ #ifndef PATH_MAX # ifdef MAXPATHLEN # define PATH_MAX MAXPATHLEN @@ -357,7 +358,6 @@ * Types */ -/* TODO convert all integer types to the new [su]i(8|16|32|64)_t */ typedef unsigned long ul_it; typedef unsigned int ui_it; typedef unsigned short us_it; @@ -691,8 +691,7 @@ enum authtype { AUTHTYPE_PLAIN = 1<<1, /* POP3: APOP is covered by this */ AUTHTYPE_LOGIN = 1<<2, AUTHTYPE_CRAM_MD5 = 1<<3, - AUTHTYPE_GSSAPI = 1<<4, - AUTHTYPE_SASL = 1<<5 /* TODO */ + AUTHTYPE_GSSAPI = 1<<4 }; #ifdef HAVE_SSL @@ -1420,9 +1419,9 @@ VL int noreset; /* String resets suspended */ VL int msgCount; /* Count of messages read in */ VL struct mailbox mb; /* Current mailbox */ VL int image; /* File descriptor for msg image */ -VL char mailname[PATH_MAX]; /* Name of current file */ -VL char displayname[80 - 40]; /* Prettyfied for display */ -VL char prevfile[PATH_MAX]; /* Name of previous file */ +VL char mailname[PATH_MAX]; /* Name of current file TODO URL/object*/ +VL char displayname[80 - 40]; /* Prettyfied for display TODO URL/obj*/ +VL char prevfile[PATH_MAX]; /* Name of previous file TODO URL/obj */ VL char const *account_name; /* Current account name or NULL */ VL off_t mailsize; /* Size of system mailbox */ VL struct message *dot; /* Pointer to current message */ -- 2.11.4.GIT