Diffstat (limited to 'kmicromail/libetpan/generic/mailstorage.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kmicromail/libetpan/generic/mailstorage.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kmicromail/libetpan/generic/mailstorage.h b/kmicromail/libetpan/generic/mailstorage.h index d56aef1..4c57883 100644 --- a/kmicromail/libetpan/generic/mailstorage.h +++ b/kmicromail/libetpan/generic/mailstorage.h | |||
@@ -50,49 +50,50 @@ extern "C" { | |||
50 | mailstorage_new | 50 | mailstorage_new |
51 | 51 | ||
52 | This function creates an empty storage. This storage have to be initialized. | 52 | This function creates an empty storage. This storage have to be initialized. |
53 | The "driver" and "data" fields should be initialized. | 53 | The "driver" and "data" fields should be initialized. |
54 | 54 | ||
55 | @param id is the name of the storage. It can be NULL. | 55 | @param id is the name of the storage. It can be NULL. |
56 | The given parameter is no more needed when the creation is finished. | 56 | The given parameter is no more needed when the creation is finished. |
57 | The given string is duplicated. | 57 | The given string is duplicated. |
58 | 58 | ||
59 | @return The mail storage is returned. | 59 | @return The mail storage is returned. |
60 | */ | 60 | */ |
61 | 61 | ||
62 | struct mailstorage * mailstorage_new(char * sto_id); | 62 | struct mailstorage * mailstorage_new(char * sto_id); |
63 | 63 | ||
64 | void mailstorage_free(struct mailstorage * storage); | 64 | void mailstorage_free(struct mailstorage * storage); |
65 | 65 | ||
66 | /* | 66 | /* |
67 | session will be initialized on success. | 67 | session will be initialized on success. |
68 | */ | 68 | */ |
69 | 69 | ||
70 | int mailstorage_connect(struct mailstorage * storage); | 70 | int mailstorage_connect(struct mailstorage * storage); |
71 | 71 | ||
72 | void mailstorage_disconnect(struct mailstorage * storage); | 72 | void mailstorage_disconnect(struct mailstorage * storage); |
73 | 73 | ||
74 | int mailstorage_noop(struct mailstorage * storage); | ||
75 | |||
74 | 76 | ||
75 | /* folder */ | 77 | /* folder */ |
76 | 78 | ||
77 | struct mailfolder * mailfolder_new(struct mailstorage * fld_storage, | 79 | struct mailfolder * mailfolder_new(struct mailstorage * fld_storage, |
78 | char * fld_pathname, char * fld_virtual_name); | 80 | char * fld_pathname, char * fld_virtual_name); |
79 | 81 | ||
80 | void mailfolder_free(struct mailfolder * folder); | 82 | void mailfolder_free(struct mailfolder * folder); |
81 | 83 | ||
82 | int mailfolder_add_child(struct mailfolder * parent, | 84 | int mailfolder_add_child(struct mailfolder * parent, |
83 | struct mailfolder * child); | 85 | struct mailfolder * child); |
84 | 86 | ||
85 | int mailfolder_detach_parent(struct mailfolder * folder); | 87 | int mailfolder_detach_parent(struct mailfolder * folder); |
86 | 88 | ||
87 | int mailfolder_connect(struct mailfolder * folder); | 89 | int mailfolder_connect(struct mailfolder * folder); |
88 | 90 | ||
89 | void mailfolder_disconnect(struct mailfolder * folder); | 91 | void mailfolder_disconnect(struct mailfolder * folder); |
90 | 92 | ||
91 | |||
92 | #ifdef __cplusplus | 93 | #ifdef __cplusplus |
93 | } | 94 | } |
94 | #endif | 95 | #endif |
95 | 96 | ||
96 | #endif | 97 | #endif |
97 | 98 | ||
98 | 99 | ||