#endif
/* Samba 3 doesn't use iconv_convenience: */
-extern void *global_iconv_convenience;
extern void *cmdline_lp_ctx;
struct smb_iconv_convenience *lp_iconv_convenience(void *lp_ctx);
#include "../talloc/talloc.h"
+#include "event.h"
+
#include "../lib/util/data_blob.h"
#include "../lib/util/time.h"
#include "../lib/util/asn1.h"
#include "dynconfig.h"
#include "util_getent.h"
#include "debugparse.h"
-#include "version.h"
#include "privileges.h"
#include "messages.h"
#include "locking.h"
#include "ntlmssp.h"
#include "auth.h"
#include "ntdomain.h"
-#include "rpc_svcctl.h"
#include "rpc_lsa.h"
#include "reg_objects.h"
#include "reg_db.h"
#include "nsswitch/winbind_client.h"
#include "spnego.h"
#include "rpc_client.h"
-#include "event.h"
#include "dbwrap.h"
#include "packet.h"
#include "ctdbd_conn.h"
#include "../lib/util/talloc_stack.h"
#include "memcache.h"
-#include "async_req.h"
+#include "../lib/async_req/async_req.h"
#include "async_smb.h"
#include "async_sock.h"
#include "services.h"
#include "eventlog.h"
#include "lib/smbconf/smbconf.h"
+#include "lib/smbconf/smbconf_init.h"
+#include "lib/smbconf/smbconf_reg.h"
+#include "lib/smbconf/smbconf_txt.h"
/* Defines for wisXXX functions. */
#define UNI_UPPER 0x1
#undef HAVE_MMAP
#endif
-#define CONST_DISCARD(type, ptr) ((type) ((void *) (ptr)))
-
void smb_panic( const char *why ) _NORETURN_;
void dump_core(void) _NORETURN_;
void exit_server(const char *const reason) _NORETURN_;