Cartelle sul server: IMAP CREATE accodato (0.22.0)

Il motore aveva I_Create ma nessuno lo chiamava: Make_Folder crea solo sotto
Local (Can_Hold=1). Aggiunte tre patch (Note_Make in Mail_Pending, ramo mkdir
nel Flush) e l'unita' Make_Remote che esporta gd_make_remote. L'interfaccia ha
'Nuova cartella nell'account': la cartella nasce al controllo successivo.
This commit is contained in:
Carlo Baratto committed 2026-11-17 16:08:40 +01:00
1 parent e6f3786aef
commit 9ed2bd614e
13 files changed
+189 -8

No files matched your search

+4
View File
@@ -6,6 +6,10 @@
extern "C" {
#endif
/* Creare una cartella sul server: accoda la nota, la esegue il controllo
successivo (IMAP CREATE). Restituisce 1 se accodata, -1 se non si puo'. */
int gd_make_remote(int folder, const char *name, int length);
/* Folders, rows and columns count from 0. A text callback writes at most cap
bytes of UTF-8 into buf, with no terminator, and returns how many. */
typedef int (*gd_folder_fn)(int index, int *depth, char *buf, int cap);