]> mj.ucw.cz Git - libucw.git/commitdiff
Partial merge with dev-async-shep:
authorPavel Charvat <pavel.charvat@netcentrum.cz>
Tue, 2 Jan 2007 14:12:35 +0000 (15:12 +0100)
committerPavel Charvat <pavel.charvat@netcentrum.cz>
Tue, 2 Jan 2007 14:12:35 +0000 (15:12 +0100)
- added routines for allocation of large alligned buffers
- improved random-access utility

lib/Makefile
lib/lib.h

index 14018b1c6d6fabda8868bf92ec983a9875ec3aa3..f815f3b64bdfa9b5077a7cec7851263ac03ac31b 100644 (file)
@@ -8,7 +8,7 @@ endif
 
 LIBUCW_MODS= \
        threads \
-       alloc alloc_str realloc mempool mempool-str mempool-fmt \
+       alloc alloc_str realloc bigalloc mempool mempool-str mempool-fmt \
        mmap pagecache partmap hashfunc \
        lists slists simple-lists sorter bitsig \
        log log-file proctitle \
index 4a6b9d81e3620fd0ddb0908e6d46e421fb7caf55..27a7511b1308260c67196a23dc87a48fee16bc96 100644 (file)
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -269,4 +269,9 @@ sh_sighandler_t set_signal_handler(int signum, sh_sighandler_t new);
 
 byte *str_unesc(byte *dest, byte *src);
 
+/* bigalloc.c */
+
+void *big_alloc(unsigned int len);
+void big_free(void *start, unsigned int len);
+
 #endif