diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2008-10-28 09:15:33 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2008-11-03 10:12:29 -0500 |
commit | 11c415db488265450163b414316cc3b9def17238 (patch) | |
tree | 4b9b7c84057149cca95302f3ad9a1685bc14d5f2 /server/util/util.h | |
parent | 6fe2bfce9fb9bb1564be8257cccc52bcec589de4 (diff) | |
download | sssd-11c415db488265450163b414316cc3b9def17238.tar.gz sssd-11c415db488265450163b414316cc3b9def17238.tar.bz2 sssd-11c415db488265450163b414316cc3b9def17238.zip |
Initial memory cleanup work
Diffstat (limited to 'server/util/util.h')
-rw-r--r-- | server/util/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/util/util.h b/server/util/util.h index 05113d1f..1613c9ef 100644 --- a/server/util/util.h +++ b/server/util/util.h @@ -4,6 +4,7 @@ #include <stdio.h> #include <stdbool.h> #include "replace.h" +#include "talloc.h" extern int debug_level; void debug_fn(const char *format, ...); @@ -42,4 +43,7 @@ void (*CatchSignal(int signum,void (*handler)(int )))(int); void CatchChild(void); void CatchChildLeaveStatus(void); +/* from memory.c */ +//TALLOC_CTX *talloc_takeover(TALLOC_CTX *mem_ctx, void *ptr, int (*destructor)(void *), const char *type); +TALLOC_CTX *talloc_takeover(TALLOC_CTX *mem_ctx, void *ptr, int (*destructor)(void **)); #endif /* __SSSD_UTIL_H__ */ |