[dovecot-cvs] dovecot/src/lib strfuncs.c, 1.55, 1.56 strfuncs.h,
1.28, 1.29
tss-movial at dovecot.org
tss-movial at dovecot.org
Mon Jun 12 11:36:55 EEST 2006
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-file.c, 1.12,
1.13 dbox-file.h, 1.2, 1.3 dbox-mail.c, 1.11, 1.12 dbox-save.c,
1.13, 1.14 dbox-storage.h, 1.11, 1.12 dbox-sync-expunge.c,
1.15, 1.16 dbox-sync-full.c, 1.6, 1.7 dbox-sync.c, 1.17, 1.18
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-index-transaction-view.c,
1.16, 1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv104
Modified Files:
strfuncs.c strfuncs.h
Log Message:
Added p_strsplit_free()
Index: strfuncs.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/strfuncs.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- strfuncs.c 27 Feb 2006 16:14:55 -0000 1.55
+++ strfuncs.c 12 Jun 2006 08:36:51 -0000 1.56
@@ -591,6 +591,12 @@
return _strsplit(pool, data, separators, TRUE);
}
+void p_strsplit_free(pool_t pool, char **arr)
+{
+ p_free(pool, arr[0]);
+ p_free(pool, arr);
+}
+
unsigned int strarray_length(const char *const *arr)
{
unsigned int count;
Index: strfuncs.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/strfuncs.h,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- strfuncs.h 27 Feb 2006 16:14:55 -0000 1.28
+++ strfuncs.h 12 Jun 2006 08:36:51 -0000 1.29
@@ -65,9 +65,9 @@
const char **t_strsplit(const char *data, const char *separators);
/* like p_strsplit(), but treats multiple adjacent separators as a single
separator. */
-char **p_strsplit_spaces(pool_t pool, const char *data,
- const char *separators);
+char **p_strsplit_spaces(pool_t pool, const char *data, const char *separators);
const char **t_strsplit_spaces(const char *data, const char *separators);
+void p_strsplit_free(pool_t pool, char **arr);
const char *dec2str(uintmax_t number);
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-file.c, 1.12,
1.13 dbox-file.h, 1.2, 1.3 dbox-mail.c, 1.11, 1.12 dbox-save.c,
1.13, 1.14 dbox-storage.h, 1.11, 1.12 dbox-sync-expunge.c,
1.15, 1.16 dbox-sync-full.c, 1.6, 1.7 dbox-sync.c, 1.17, 1.18
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-index-transaction-view.c,
1.16, 1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list