From 9ad6c58af31f682374bdbf136d6e9f337ea39209 Mon Sep 17 00:00:00 2001 From: Sam Varshavchik Date: Fri, 27 Apr 2018 19:17:42 -0400 Subject: curses and libmail subdirectories are now in the courier/cone repo. --- libmail/misc.H | 54 ------------------------------------------------------ 1 file changed, 54 deletions(-) delete mode 100644 libmail/misc.H (limited to 'libmail/misc.H') diff --git a/libmail/misc.H b/libmail/misc.H deleted file mode 100644 index 2f108ba..0000000 --- a/libmail/misc.H +++ /dev/null @@ -1,54 +0,0 @@ -/* -** Copyright 2003-2004, Double Precision Inc. -** -** See COPYING for distribution information. -*/ -#ifndef libmail_misc_H -#define libmail_misc_H - -#include "libmail_config.h" -#include "namespace.H" - -#include - -LIBMAIL_START - -class loginInfo; - -std::string toutf8(std::string); -std::string fromutf8(std::string); - -std::string hostname(); - // Return this machine's name - -enum readMode {readHeadersFolded, readContents, readBoth, readHeaders}; - -void upper(std::string &w); - // - // Convert the string to uppercase characters using the ISO-8859-1 - // character set - -std::string homedir(); - // - // The home directory of the userid running this application. - -std::string loginUrlEncode(std::string method, - std::string server, std::string uid, - std::string password); - // Create a new mail account URL. - // method - the support method (imap, pop3Account, etc...) - // server - the name of the mail account's server - // uid - mail account ID - // pwd - mail account password - -bool loginUrlDecode(std::string url, class loginInfo &info); - // Decode a mail account URL - // - // url - the URL. - // - // info - login information - - -LIBMAIL_END - -#endif -- cgit v1.2.3