Fix FSF address (Tobias Mueller, #470445)
[platform/upstream/evolution-data-server.git] / servers / exchange / lib / e2k-path.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /* 
3  * Copyright (C) 2001 Ximian, Inc.
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of version 2 of the GNU Lesser General Public
7  * License as published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  * Boston, MA 02110-1301, USA.
18  */
19
20 #ifndef __E_PATH__
21 #define __E_PATH__
22
23 #include <glib.h>
24
25 /* FIXME: deprecated
26    This is used exclusively for the legacy imap cache code.  DO NOT use this in any new code */
27
28 typedef gboolean (*EPathFindFoldersCallback) (const char *physical_path,
29                                               const char *path,
30                                               gpointer user_data);
31
32 char *   e_path_to_physical  (const char *prefix, const char *vpath);
33
34 gboolean e_path_find_folders (const char *prefix,
35                               EPathFindFoldersCallback callback,
36                               gpointer data);
37
38 int      e_path_rmdir        (const char *prefix, const char *vpath);
39 #endif /* __E_PATH__ */