talloc: add defines and functions for TALLOC_MAJOR/MINOR_VERSION
authorStefan Metzmacher <metze@samba.org>
Thu, 20 Aug 2009 11:43:42 +0000 (13:43 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 21 Aug 2009 07:58:22 +0000 (09:58 +0200)
commit266bb4e573f7fa2cd5da921eea6a76e826ab4086
tree829ed41b22214bf1bca72de608da039fe867f183
parent0f9a451d52918b5b208fd0d6c68bb648458e7a9c
talloc: add defines and functions for TALLOC_MAJOR/MINOR_VERSION

We also use the major and minor versions in the TALLOC_MAGIC,
so that we can detect if two conflicting versions of talloc
are loaded in one process. In this case we use talloc_log() to
output a very useful debug message before we call
talloc_abort().

metze
lib/talloc/Makefile.in
lib/talloc/configure.ac
lib/talloc/talloc.c
lib/talloc/talloc.h
lib/talloc/talloc.mk
lib/talloc/talloc.pc.in