Rusty Russell
|
36ef9b2c28
Helper routines for saving errno in error paths.
|
18 years ago |
Rusty Russell
|
c62437a984
Remove redundant metalen from metadata header: we can use page bits.
|
18 years ago |
Rusty Russell
|
f033b4f382
More cleanups where get_bit_pair should be used instead of
|
18 years ago |
Rusty Russell
|
e6737e85a6
No fair asking allocator to align greater than pool.
|
18 years ago |
Rusty Russell
|
03a2acddc5
Separate functions for bitpair manip.
|
18 years ago |
Rusty Russell
|
b3d0388fba
Clean up metadata when we run out of room.
|
18 years ago |
Rusty Russell
|
4f5988a8db
Minor cleanups, a little new testing and a "visualize" routine which
|
18 years ago |
Rusty Russell
|
60fb6bfc45
sub-page allocations work, still some FIXMEs to go.
|
18 years ago |
Rusty Russell
|
3d34b48fce
Allocator now has metadata.
|
18 years ago |
Rusty Russell
|
294f8d3542
Allocate backwards, ready for metadata.
|
18 years ago |
Rusty Russell
|
e5ca6bcffb
Fix typo.
|
18 years ago |
Rusty Russell
|
c9f42c0a93
Initial cut at file/mem allocator (pages only)
|
18 years ago |
Rusty Russell
|
bd9f392599
Compile even with !HAVE_TYPEOF etc, and remove redundant test case.
|
18 years ago |
Rusty Russell
|
246bde098d
Fix talloc's use of PRINTF_ATTRIBUTE clash.
|
18 years ago |
Rusty Russell
|
58785e0bf9
Fix !HAVE_TYPEOF case by using new typesafe_cb.
|
18 years ago |
Rusty Russell
|
df4e8e9de8
More attributes for typesafe_cb.
|
18 years ago |
Rusty Russell
|
eded23d444
Typesafe callback infrastructure.
|
18 years ago |
Rusty Russell
|
9927eebe7c
Add required include, and remove Samba comment from header.
|
18 years ago |
Rusty Russell
|
6cddf7bb99
Should use libtap's exit_status() for return from main.
|
18 years ago |
Rusty Russell
|
ec45d0d2bc
Preserve errno on talloc_free
|
18 years ago |
Rusty Russell
|
4f2616ac7b
Remove talloc_guide (folded into talloc.h) and testsuite.c (tests/run.c)
|
18 years ago |
Rusty Russell
|
4cdcc6486e
Move documentation from talloc_guide.txt into talloc.h and remove some
|
18 years ago |
Rusty Russell
|
ff03158c32
HAVE_ATTRIBUTE_PRINTF for talloc
|
18 years ago |
Rusty Russell
|
29149d39d5
First cut of ccan-izing talloc
|
18 years ago |
Rusty Russell
|
f7315b84a7
Avoid hacky recompilation of files to namespacize, use hacky parser
|
18 years ago |
Rusty Russell
|
2040a0c472
New package: list, complete reimplementation of Linux's list macros.
|
18 years ago |
Rusty Russell
|
1e7eb5df1a
New variant of container_of: container_of_var, for list.h
|
18 years ago |
Rusty Russell
|
9c468dc322
Added namespacize, to prefix exposed symbols with CCAN_/ccan_.
|
18 years ago |
Rusty Russell
|
ce0163e02d
Add string helpers (actually needed up previous checkin)
|
18 years ago |
Rusty Russell
|
7bbd49fdb0
Include all the tools under ccan_tools dir, hacked to work for me.
|
18 years ago |