summaryrefslogtreecommitdiffstats
path: root/talloc.h
Commit message (Collapse)AuthorAgeFilesLines
* build: add a hack to prevent name collision with libtallocUoti Urpala2011-07-071-0/+10
| | | | | | | | | | | libsmbclient uses dynamically linked libtalloc.so which has symbols with names matching those in the internal talloc.c. This name collision caused a crash under stream_smb when trying to play anything with smb://. Add a "#pragma GCC visibility" hack to talloc.h to hide the internal symbols from being visible to the outside libtalloc.so. Hopefully this doesn't break any platform worse than possibly causing a compiler warning about an unknown pragma (at least GCC and clang recognize it).
* Add the talloc memory allocatorUoti Urpala2008-04-231-0/+183
Copy talloc.c and talloc.h from Samba (last changed 2008-04-17 in commit 7b9a647ebbbe9ec9e1b82b42e3a8916396f91273).