From cde9231ca7fd5a5abe84133a0e77f3bb36e98d39 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sat, 17 Jun 2000 19:00:58 +0000 Subject: removed imap.c/h from providers/imap began implementing search functionality svn path=/trunk/; revision=3613 --- camel/providers/imap/imap.h | 86 --------------------------------------------- 1 file changed, 86 deletions(-) delete mode 100644 camel/providers/imap/imap.h (limited to 'camel/providers/imap/imap.h') diff --git a/camel/providers/imap/imap.h b/camel/providers/imap/imap.h deleted file mode 100644 index 3884651c42..0000000000 --- a/camel/providers/imap/imap.h +++ /dev/null @@ -1,86 +0,0 @@ -/* Spruce - * Copyright (C) 1999-2000 Jeffrey Stedfast - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -*/ - -#ifndef __IMAP_H__ -#define __IMAP_H__ - -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - -#include -#undef MIN -#undef MAX -#include -#include -#include -#include -#include -#include -#include -#include "parse.h" -#include "server.h" -#include "mime.h" -#include "cram-md5.h" - -struct imap_account -{ - Server server; - gchar *username; - gchar *password; - gint socket; -}; - -gint imap_ok (gint tag, gchar *line); - -gint imap_login_cram_md5(gint socket, gchar *username, gchar *password); - -gint imap_login (gint socket, gchar *username, gchar *password); - -GList *imap_list (gint socket, gchar *namespace); - -gint imap_select_mailbox (gint socket, gchar *mailbox, gchar *namespace); - -gint imap_logout (gint socket); - -gint imap_mailbox_create (gint socket, gchar *mailbox); - -gint imap_mailbox_delete (gint socket, gchar *mailbox); - -gchar *imap_fetch (gint socket, gint mesgnum, gchar *part, gint *seen); - -gboolean imap_delete (const ImapAccount_t *imap, GList *sorted); - -gint imap_connect(Server *server); - -gint imap_add_part(gchar *c); - -gint imap_parts (gint socket, gint mesg_num); - -gint imap_get_string (gchar *index, gchar *dest, gint destlen, gchar *def); - -gint imap_get_number (gchar *index, gint *dest); - -gint imap_skip_section(gchar *index); - -#ifdef __cplusplus -} -#endif /* __cplusplus */ - -#endif - -- cgit v1.2.3