/usr/include/evolution-data-server-3.2/mapi/exchange-mapi-folder.h is in libexchangemapi-1.0-dev 3.2.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) version 3.
*
* 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with the program; if not, see <http://www.gnu.org/licenses/>
*
*
* Authors:
* Srinivasa Ragavan <sragavan@novell.com>
*
* Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
*
*/
#ifndef EXCHANGE_MAPI_FOLDER_H
#define EXCHANGE_MAPI_FOLDER_H
#include <glib.h>
#include <libmapi/libmapi.h>
typedef enum {
MAPI_FOLDER_TYPE_MAIL=1,
MAPI_FOLDER_TYPE_APPOINTMENT,
MAPI_FOLDER_TYPE_CONTACT,
MAPI_FOLDER_TYPE_MEMO,
MAPI_FOLDER_TYPE_JOURNAL,
MAPI_FOLDER_TYPE_TASK,
MAPI_FOLDER_TYPE_NOTE_HOMEPAGE,
MAPI_FOLDER_TYPE_UNKNOWN
} ExchangeMAPIFolderType;
typedef enum {
MAPI_PERSONAL_FOLDER,
MAPI_FAVOURITE_FOLDER,
MAPI_FOREIGN_FOLDER
} ExchangeMAPIFolderCategory;
typedef struct _ExchangeMAPIFolder {
/* We'll need this separation of 'owner' and 'user' when we do delegation */
gchar *owner_name;
gchar *owner_email;
gchar *user_name;
gchar *user_email;
/* Need this info - default calendars/address books/notes folders can't be deleted */
gboolean is_default;
guint32 default_type;
gchar *folder_name;
ExchangeMAPIFolderType container_class;
ExchangeMAPIFolderCategory category;
mapi_id_t folder_id;
mapi_id_t parent_folder_id;
guint32 child_count;
guint32 unread_count;
guint32 total;
guint32 size;
/* reserved */
gpointer reserved1;
gpointer reserved2;
gpointer reserved3;
} ExchangeMAPIFolder;
ExchangeMAPIFolder *
exchange_mapi_folder_new (const gchar *folder_name, const gchar *container_class,
ExchangeMAPIFolderCategory catgory,
mapi_id_t folder_id, mapi_id_t parent_folder_id,
uint32_t child_count, uint32_t unread_count, uint32_t total);
ExchangeMAPIFolder *exchange_mapi_folder_copy (ExchangeMAPIFolder *src);
void exchange_mapi_folder_free (ExchangeMAPIFolder *folder);
ExchangeMAPIFolderType exchange_mapi_container_class (gchar *type);
const gchar * exchange_mapi_folder_get_name (ExchangeMAPIFolder *folder);
guint64 exchange_mapi_folder_get_fid (ExchangeMAPIFolder *folder);
guint64 exchange_mapi_folder_get_parent_id (ExchangeMAPIFolder *folder);
ExchangeMAPIFolderType exchange_mapi_folder_get_type (ExchangeMAPIFolder *folder);
guint32 exchange_mapi_folder_get_unread_count (ExchangeMAPIFolder *folder);
guint32 exchange_mapi_folder_get_total_count (ExchangeMAPIFolder *folder);
gboolean exchange_mapi_folder_is_root (ExchangeMAPIFolder *folder);
GSList *exchange_mapi_folder_copy_list (GSList *folder_list);
void exchange_mapi_folder_free_list (GSList *folder_list);
#endif
|