Commit Graph

4 Commits

Author SHA1 Message Date
Harald Welte 6b369a4cfd Allow application to override default heap allocator
Let's introduce a mechanism by which libsmpp34-using applications can
override the memory allocator functions.  This allows us e.g. in the
Osmocom context to use talloc which aids us in debugging memory leaks.

Closes: OS#3913
Change-Id: I3656117115e89638c093bfbcbc4369ce302f7a94
2019-04-11 06:12:40 +00:00
Holger Hans Peter Freyther eca1440439 misc: Always include stdint.h as it is almost 2013 now
C99 is there for over a decode, always depend on the stdint header
being present, specially as the code is using uint32_t all over the
place.
2012-11-09 13:39:51 +01:00
Holger Hans Peter Freyther ac4af14ab1 misc: Use stdlib.h instead of malloc.h to make it compile on FreeBSD
/usr/include/malloc.h:3:2: error: #error "<malloc.h> has been replaced by <stdlib.h>"
2012-11-09 11:49:49 +01:00
Harald Welte 4b233b4f3b initial import of libsmpp34-1.10 2012-11-07 08:32:31 +01:00