#include "includes.h"
#include "system/passwd.h"
+#include "system/iconv.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_AUTH
#include "includes.h"
#include "clitar.h"
#include "system/time.h"
+#include "system/iconv.h"
/**
Convert list of tokens to array; dependent on above routine.
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-
struct ldb_wrap {
struct ldb_context *ldb;
#endif
#include <unistd.h>
-
#include <sys/types.h>
-#ifdef HAVE_STDINT_H
-#include <stdint.h>
-#endif
-
-#ifdef HAVE_SYS_RESOURCE_H
-#include <sys/resource.h>
-#endif
-
#include <unistd.h>
#include <stdio.h>
#include <stddef.h>
+#include <stdlib.h>
-#ifdef HAVE_SYS_PARAM_H
-#include <sys/param.h>
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
#endif
-#include <stdlib.h>
-
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#include <sys/stat.h>
-#ifdef HAVE_LIMITS_H
-#include <limits.h>
-#endif
-
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#endif
-#ifdef HAVE_SYS_FILIO_H
-#include <sys/filio.h>
-#endif
-
#include <signal.h>
-#ifdef HAVE_CTYPE_H
-#include <ctype.h>
-#endif
-
#include <errno.h>
#ifdef HAVE_SYS_MODE_H
#include <varargs.h>
#endif
-#include <sys/file.h>
-
#ifdef HAVE_STROPTS_H
#include <stropts.h>
#endif
/* Lists, trees, caching, database... */
#include "xfile.h"
#include "dlinklist.h"
+#include "talloc.h"
#include "lib/ldb/include/ldb.h"
#include "lib/tdb/include/tdb.h"
#include "lib/tdb/include/spinlock.h"
#include "lib/tdb/include/tdbutil.h"
-#include "talloc.h"
#include "db_wrap.h"
#include "nt_status.h"
#include "trans2.h"
#include <sys/statvfs.h>
#endif
+#ifdef HAVE_SYS_FILIO_H
+#include <sys/filio.h>
+#endif
+
+#include <sys/file.h>
+
#endif
#endif
+#ifdef HAVE_CTYPE_H
+#include <ctype.h>
+#endif
+
--- /dev/null
+/*
+ Unix SMB/CIFS implementation.
+
+ resource system include wrappers
+
+ Copyright (C) Andrew Tridgell 2004
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*/
+
+#ifdef HAVE_SYS_RESOURCE_H
+#include <sys/resource.h>
+#endif
+
+
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
+
+#ifdef HAVE_LIMITS_H
+#include <limits.h>
+#endif
+
*/
#include "includes.h"
+#include "system/iconv.h"
static unsigned char hash[258];
static uint32 counter;
*/
#include "includes.h"
+#include <ctype.h>
/*
#include "includes.h"
#include "ldb/include/ldb_parse.h"
+#include <ctype.h>
/*
*/
#include "includes.h"
+#include <ctype.h>
/*
TODO:
#include "tdb.h"
#include "proto.h"
+#ifdef HAVE_INTPTR_T
+#define discard_const(ptr) ((void *)((intptr_t)(ptr)))
+#else
+#define discard_const(ptr) ((void *)(ptr))
+#endif
+#define discard_const_p(type, ptr) ((type *)discard_const(ptr))
+
+
#include "includes.h"
#include "system/network.h"
+#include "system/iconv.h"
#define FAIL (-1)
#define ALLONES ((uint32_t)0xFFFFFFFF)
#else
#include "includes.h"
+#include "system/iconv.h"
#endif
#include "includes.h"
#include "system/network.h"
+#include "system/iconv.h"
/**************************************************************************n
Find a suitable temporary directory. The result should be copied immediately
*/
#include "includes.h"
+#include "system/iconv.h"
/**
* @file
*/
#include "includes.h"
+#include "system/iconv.h"
/* these 2 tables define the unicode case handling. They are loaded
at startup either via mmap() or read() from the lib directory */
#include "includes.h"
#include "system/network.h"
+#include "system/iconv.h"
/****************************************************************************
*
*/
#include "includes.h"
+#include "system/iconv.h"
/****************************************************************************
*
#include "includes.h"
#include "system/network.h"
#include "system/time.h"
+#include "system/iconv.h"
static const struct opcode_names {
const char *nmb_opcode_name;
#include "include/includes.h"
#include "vfs_posix.h"
+#include "system/iconv.h"
/*
this mangling scheme uses the following format
#include "includes.h"
#include "system/time.h"
+#include "system/iconv.h"
#include "librpc/gen_ndr/ndr_svcctl.h"
BOOL in_client = False; /* Not in the client by default */
*/
#include "includes.h"
+#include "system/iconv.h"
/* -------------------------------------------------------------------------- **
* Constants...
*/
#include "includes.h"
+#include "system/iconv.h"
BOOL torture_utable(void)
{
*/
#include "includes.h"
+#include "system/iconv.h"
static const struct dcerpc_interface_table *find_pipe(const char *pipe_name)
{