tdb namespace pollution

Elrond elrond at samba-tng.org
Wed Jan 9 10:04:05 GMT 2002


Hi,

tdb.h exports a quite clean namespace.

Nearly everything exported from it starts out in tdb_*.

One exception:

SAFE_FREE.

Can this either be changed or just (which I would prefer)
be moved into tdb.c?

If moving into tdb.c, I'd suggest something like:
  #ifdef SAFE_FREE
  #undef SAFE_FREE
  #endif
  #define SAFE_FREE ...
after all includes, even after the closing #endif for
STANDALONE.


    Elrond




More information about the samba-technical mailing list