From: DINH V. H. <ho...@us...> - 2002-11-25 07:09:28
|
Update of /cvsroot/libetpan/libetpan/imap In directory sc8-pr-cvs1:/tmp/cvs-serv28707/imap Modified Files: mailimap_types.h mailimap_types_helper.h Log Message: comments for higher level API Index: mailimap_types.h =================================================================== RCS file: /cvsroot/libetpan/libetpan/imap/mailimap_types.h,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- mailimap_types.h 17 Nov 2002 03:19:26 -0000 1.15 +++ mailimap_types.h 25 Nov 2002 07:09:24 -0000 1.16 @@ -2724,7 +2724,7 @@ MAILIMAP_SEARCH_KEY_CC, /* messages whose Cc field contains the given string */ MAILIMAP_SEARCH_KEY_DELETED, /* messages with the flag \Deleted */ - MAILIMAP_SEARCH_KEY_FLAGGED, /* messages with the flag \Flagged */ + MAILIMAP_SEARCH_KEY_FLAGGED, /* messages with the flag \Flagged */ MAILIMAP_SEARCH_KEY_FROM, /* messages whose From field contains the given string */ MAILIMAP_SEARCH_KEY_KEYWORD, /* messages with the flag keyword set */ @@ -2771,7 +2771,7 @@ identifiers in case of UID SEARCH) are in the given range */ MAILIMAP_SEARCH_KEY_MULTIPLE, /* the boolean operator between the - conditions is AND*/ + conditions is AND */ }; /* Index: mailimap_types_helper.h =================================================================== RCS file: /cvsroot/libetpan/libetpan/imap/mailimap_types_helper.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- mailimap_types_helper.h 17 Nov 2002 03:19:26 -0000 1.6 +++ mailimap_types_helper.h 25 Nov 2002 07:09:24 -0000 1.7 @@ -40,6 +40,17 @@ #include "mailimap_types.h" /* + IMPORTANT NOTE: + + All allocation functions will take as argument allocated data + and will store these data in the structure they will allocate. + Data should be persistant during all the use of the structure + and will be freed by the free function of the structure + + allocation functions will return NULL on failure +*/ + +/* this function creates a new set item with a single message given by index */ |