]> mj.ucw.cz Git - libucw.git/blobdiff - lib/mempool.h
Removed trailing whitespaces.
[libucw.git] / lib / mempool.h
index 98d46e57d620bdb8f4cb03816c90eec556f83eb5..6f6a7ffe1387a161428d583e69d560656172d014 100644 (file)
@@ -63,16 +63,18 @@ mp_end_string(struct mempool *p, void *stop)
 /* mempool-str.c */
 
 char *mp_strdup(struct mempool *, char *);
+void *mp_memdup(struct mempool *, void *, uns);
 char *mp_multicat(struct mempool *, ...);
 static inline char *
 mp_strcat(struct mempool *mp, char *x, char *y)
 {
   return mp_multicat(mp, x, y, NULL);
 }
+char *mp_strjoin(struct mempool *p, char **a, uns n, uns sep);
 
 /* mempool-fmt.c */
 
-char *mp_printf(struct mempool *p, char *fmt, ...);
+char *mp_printf(struct mempool *p, char *fmt, ...) FORMAT_CHECK(printf,2,3);
 char *mp_vprintf(struct mempool *p, char *fmt, va_list args);
 
 #endif