1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

r3447: more include/system/XXX.h include files

(This used to be commit 264ce91810)
This commit is contained in:
Andrew Tridgell 2004-11-02 00:24:21 +00:00 committed by Gerald (Jerry) Carter
parent 28785364ba
commit ead3508ac8
71 changed files with 408 additions and 156 deletions

View File

@ -21,6 +21,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_samr.h"
#include "system/time.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_AUTH

View File

@ -22,6 +22,7 @@
password database. The SMB encrypted password support is elsewhere */
#include "includes.h"
#include "system/passwd.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_AUTH

View File

@ -24,6 +24,8 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_srvsvc.h"
#include "libcli/raw/libcliraw.h"
#include "system/time.h"
#include "system/dir.h"
#ifndef REGISTER
#define REGISTER 0

View File

@ -37,6 +37,7 @@
#include "includes.h"
#include "clitar.h"
#include "system/time.h"
/**
Convert list of tokens to array; dependent on above routine.

View File

@ -72,37 +72,18 @@
/** Feel free to add definitions for other compilers here. */
#endif
#ifdef RELIANTUNIX
/*
* <unistd.h> has to be included before any other to get
* large file support on Reliant UNIX. Yes, it's broken :-).
*/
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#endif /* RELIANTUNIX */
#include <sys/types.h>
#include <stdint.h>
#ifdef TIME_WITH_SYS_TIME
#include <sys/time.h>
#include <time.h>
#else
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#else
#include <time.h>
#endif
#endif
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <stdio.h>
#include <stddef.h>
@ -115,12 +96,6 @@
#include <stdlib.h>
#endif
#ifdef HAVE_SYS_SYSCALL_H
#include <sys/syscall.h>
#elif HAVE_SYSCALL_H
#include <syscall.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
@ -164,26 +139,9 @@
#ifdef HAVE_CTYPE_H
#include <ctype.h>
#endif
#ifdef HAVE_GRP_H
#include <grp.h>
#endif
#ifdef HAVE_SYS_PRIV_H
#include <sys/priv.h>
#endif
#ifdef HAVE_SYS_ID_H
#include <sys/id.h>
#endif
#include <errno.h>
#ifdef HAVE_UTIME_H
#include <utime.h>
#endif
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif
#ifdef HAVE_SYS_MODE_H
/* apparently AIX needs this for S_ISLNK */
#ifndef S_ISLNK
@ -191,132 +149,18 @@
#endif
#endif
#ifdef HAVE_GLOB_H
#include <glob.h>
#endif
#include <pwd.h>
#ifdef HAVE_STDARG_H
#include <stdarg.h>
#else
#include <varargs.h>
#endif
#ifdef HAVE_SYSLOG_H
#include <syslog.h>
#else
#ifdef HAVE_SYS_SYSLOG_H
#include <sys/syslog.h>
#endif
#endif
#include <sys/file.h>
#if defined(HAVE_TERMIOS_H)
/* POSIX terminal handling. */
#include <termios.h>
#elif defined(HAVE_TERMIO_H)
/* Older SYSV terminal handling - don't use if we can avoid it. */
#include <termio.h>
#elif defined(HAVE_SYS_TERMIO_H)
/* Older SYSV terminal handling - don't use if we can avoid it. */
#include <sys/termio.h>
#endif
#if HAVE_DIRENT_H
# include <dirent.h>
# define NAMLEN(dirent) strlen((dirent)->d_name)
#else
# define dirent direct
# define NAMLEN(dirent) (dirent)->d_namlen
# if HAVE_SYS_NDIR_H
# include <sys/ndir.h>
# endif
# if HAVE_SYS_DIR_H
# include <sys/dir.h>
# endif
# if HAVE_NDIR_H
# include <ndir.h>
# endif
#endif
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#ifdef HAVE_SYS_MOUNT_H
#include <sys/mount.h>
#endif
#ifdef HAVE_SYS_VFS_H
#include <sys/vfs.h>
#endif
#ifdef HAVE_SYS_ACL_H
#include <sys/acl.h>
#endif
#ifdef HAVE_SYS_FS_S5PARAM_H
#include <sys/fs/s5param.h>
#endif
#if defined (HAVE_SYS_FILSYS_H) && !defined (_CRAY)
#include <sys/filsys.h>
#endif
#ifdef HAVE_SYS_STATFS_H
# include <sys/statfs.h>
#endif
#ifdef HAVE_DUSTAT_H
#include <sys/dustat.h>
#endif
#ifdef HAVE_SYS_STATVFS_H
#include <sys/statvfs.h>
#endif
#ifdef HAVE_SHADOW_H
#include <shadow.h>
#endif
#ifdef HAVE_GETPWANAM
#include <sys/label.h>
#include <sys/audit.h>
#include <pwdadj.h>
#endif
#ifdef HAVE_SYS_SECURITY_H
#include <sys/security.h>
#include <prot.h>
#define PASSWORD_LENGTH 16
#endif /* HAVE_SYS_SECURITY_H */
#ifdef HAVE_COMPAT_H
#include <compat.h>
#endif
#ifdef HAVE_STROPTS_H
#include <stropts.h>
#endif
#ifdef HAVE_SYS_CAPABILITY_H
#if defined(BROKEN_REDHAT_7_SYSTEM_HEADERS) && !defined(_I386_STATFS_H)
#define _I386_STATFS_H
#define BROKEN_REDHAT_7_STATFS_WORKAROUND
#endif
#include <sys/capability.h>
#ifdef BROKEN_REDHAT_7_STATFS_WORKAROUND
#undef _I386_STATFS_H
#undef BROKEN_REDHAT_7_STATFS_WORKAROUND
#endif
#endif
/* we support ADS if we want it and have krb5 and ldap libs */
#if defined(WITH_ADS) && defined(HAVE_KRB5) && defined(HAVE_LDAP)
#define HAVE_ADS

View File

@ -49,3 +49,6 @@ struct netr_SamInfo3;
struct netr_Authenticator;
struct iface_struct;
struct tm;
struct utimbuf;

View File

@ -0,0 +1,38 @@
/*
Unix SMB/CIFS implementation.
capability 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_CAPABILITY_H
#if defined(BROKEN_REDHAT_7_SYSTEM_HEADERS) && !defined(_I386_STATFS_H)
#define _I386_STATFS_H
#define BROKEN_REDHAT_7_STATFS_WORKAROUND
#endif
#include <sys/capability.h>
#ifdef BROKEN_REDHAT_7_STATFS_WORKAROUND
#undef _I386_STATFS_H
#undef BROKEN_REDHAT_7_STATFS_WORKAROUND
#endif
#endif

View File

@ -0,0 +1,39 @@
/*
Unix SMB/CIFS implementation.
directory 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.
*/
#if HAVE_DIRENT_H
# include <dirent.h>
# define NAMLEN(dirent) strlen((dirent)->d_name)
#else
# define dirent direct
# define NAMLEN(dirent) (dirent)->d_namlen
# if HAVE_SYS_NDIR_H
# include <sys/ndir.h>
# endif
# if HAVE_SYS_DIR_H
# include <sys/dir.h>
# endif
# if HAVE_NDIR_H
# include <ndir.h>
# endif
#endif

View File

@ -0,0 +1,54 @@
/*
Unix SMB/CIFS implementation.
filesystem 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_MOUNT_H
#include <sys/mount.h>
#endif
#ifdef HAVE_SYS_VFS_H
#include <sys/vfs.h>
#endif
#ifdef HAVE_SYS_ACL_H
#include <sys/acl.h>
#endif
#ifdef HAVE_SYS_FS_S5PARAM_H
#include <sys/fs/s5param.h>
#endif
#if defined (HAVE_SYS_FILSYS_H) && !defined (_CRAY)
#include <sys/filsys.h>
#endif
#ifdef HAVE_SYS_STATFS_H
# include <sys/statfs.h>
#endif
#ifdef HAVE_DUSTAT_H
#include <sys/dustat.h>
#endif
#ifdef HAVE_SYS_STATVFS_H
#include <sys/statvfs.h>
#endif

View File

@ -0,0 +1,26 @@
/*
Unix SMB/CIFS implementation.
glob 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_GLOB_H
#include <glob.h>
#endif

View File

@ -0,0 +1,54 @@
/*
Unix SMB/CIFS implementation.
passwd 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.
*/
#include <pwd.h>
#ifdef HAVE_GRP_H
#include <grp.h>
#endif
#ifdef HAVE_SYS_PRIV_H
#include <sys/priv.h>
#endif
#ifdef HAVE_SYS_ID_H
#include <sys/id.h>
#endif
#ifdef HAVE_SHADOW_H
#include <shadow.h>
#endif
#ifdef HAVE_SYS_SECURITY_H
#include <sys/security.h>
#include <prot.h>
#define PASSWORD_LENGTH 16
#endif /* HAVE_SYS_SECURITY_H */
#ifdef HAVE_GETPWANAM
#include <sys/label.h>
#include <sys/audit.h>
#include <pwdadj.h>
#endif
#ifdef HAVE_COMPAT_H
#include <compat.h>
#endif

View File

@ -0,0 +1,26 @@
/*
Unix SMB/CIFS implementation.
select 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_SELECT_H
#include <sys/select.h>
#endif

View File

@ -28,6 +28,10 @@
#include <sys/shm.h>
#endif /* HAVE_SYS_SHM_H */
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
/* NetBSD doesn't have these */
#ifndef SHM_R
#define SHM_R 0400
@ -37,3 +41,4 @@
#define SHM_W 0200
#endif

View File

@ -0,0 +1,30 @@
/*
Unix SMB/CIFS implementation.
syslog 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_SYSLOG_H
#include <syslog.h>
#else
#ifdef HAVE_SYS_SYSLOG_H
#include <sys/syslog.h>
#endif
#endif

View File

@ -0,0 +1,33 @@
/*
Unix SMB/CIFS implementation.
terminal 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.
*/
#if defined(HAVE_TERMIOS_H)
/* POSIX terminal handling. */
#include <termios.h>
#elif defined(HAVE_TERMIO_H)
/* Older SYSV terminal handling - don't use if we can avoid it. */
#include <termio.h>
#elif defined(HAVE_SYS_TERMIO_H)
/* Older SYSV terminal handling - don't use if we can avoid it. */
#include <sys/termio.h>
#endif

View File

@ -0,0 +1,37 @@
/*
Unix SMB/CIFS implementation.
time 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 TIME_WITH_SYS_TIME
#include <sys/time.h>
#include <time.h>
#else
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#else
#include <time.h>
#endif
#endif
#ifdef HAVE_UTIME_H
#include <utime.h>
#endif

View File

@ -19,6 +19,7 @@
*/
#include "includes.h"
#include "system/time.h"
static TDB_CONTEXT *tdb;

View File

@ -19,6 +19,7 @@
*/
#include "includes.h"
#include "system/time.h"
#define ATTR_BLOB_CONST(val) data_blob_talloc(mem_ctx, val, sizeof(val)-1)
#define ATTR_SINGLE_NOVAL(ctx, attr, blob, num, nam) do { \

View File

@ -65,6 +65,8 @@
*/
#include "includes.h"
#include "system/time.h"
#include "system/select.h"
/*
create a event_context structure. This must be the first events

View File

@ -19,6 +19,7 @@
*/
#include "includes.h"
#include "system/filesys.h"
/* Return the number of TOSIZE-byte blocks used by

View File

@ -22,6 +22,7 @@
*/
#include "includes.h"
#include "system/time.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_TDB

View File

@ -21,6 +21,7 @@
*/
#include "includes.h"
#include "system/time.h"
/* change the message version with any incompatible changes in the protocol */
#define MESSAGING_VERSION 1

View File

@ -20,6 +20,7 @@
*/
#include "includes.h"
#include "system/dir.h"
#ifdef HAVE_DLOPEN

View File

@ -19,6 +19,7 @@
*/
#include "includes.h"
#include "system/dir.h"
static WERROR reg_dir_add_key(TALLOC_CTX *mem_ctx, struct registry_key *parent, const char *name, uint32_t access_mask, SEC_DESC *desc, struct registry_key **result)
{

View File

@ -304,6 +304,7 @@ Hope this helps.... (Although it was "fun" for me to uncover this things,
*************************************************************************/
#include "includes.h"
#include "system/shmem.h"
#define REG_KEY_LIST_SIZE 10
#define FLAG_HAS_NAME 0x01

View File

@ -20,6 +20,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "includes.h"
#include "system/shmem.h"
/**
* The registry starts with a header that contains pointers to

View File

@ -20,6 +20,7 @@
*/
#include "includes.h"
#include "system/time.h"
/*
* ck/cd - change key

View File

@ -20,6 +20,7 @@
#include "includes.h"
#include "system/wait.h"
#include "system/time.h"
void replace_dummy(void);
void replace_dummy(void) {}

View File

@ -66,6 +66,8 @@
#include "spinlock.h"
#else
#include "includes.h"
#include "system/time.h"
#include "system/shmem.h"
#endif
#define TDB_MAGIC_FOOD "TDB file\n"

View File

@ -21,6 +21,7 @@
#else
#include "includes.h"
#include "system/time.h"
#endif

View File

@ -21,6 +21,7 @@
*/
#include "includes.h"
#include "system/time.h"
#ifndef TIME_T_MIN
#define TIME_T_MIN 0

View File

@ -19,6 +19,7 @@
*/
#include "includes.h"
#include "system/shmem.h"
/*************************************************************************
gets a line out of a file.

View File

@ -21,6 +21,7 @@
*/
#include "includes.h"
#include "system/time.h"
/*
This is pretty much a complete rewrite of the earlier code. The main

View File

@ -22,6 +22,7 @@
*/
#include "includes.h"
#include "system/time.h"
/*
initialise the credentials state for old-style 64 bit session keys

View File

@ -22,6 +22,7 @@
*/
#include "includes.h"
#include "system/time.h"
#define NBTKEY_FMT "NBT/%s#%02X"

View File

@ -21,6 +21,7 @@
#include "includes.h"
#include "system/network.h"
#include "system/time.h"
/* A netbios node status array element. */
struct node_status {

View File

@ -21,6 +21,7 @@
#include "includes.h"
#include "system/network.h"
#include "system/time.h"
static const struct opcode_names {
const char *nmb_opcode_name;

View File

@ -21,6 +21,7 @@
#include "includes.h"
#include "libcli/raw/libcliraw.h"
#include "system/time.h"
static void smbcli_transport_process_recv(struct smbcli_transport *transport);

View File

@ -21,6 +21,7 @@
#include "includes.h"
#include "libcli/raw/libcliraw.h"
#include "system/time.h"
static const struct {
enum protocol_types prot;

View File

@ -23,6 +23,7 @@
*/
#include "includes.h"
#include "system/time.h"
#include "byteorder.h"
/*

View File

@ -20,6 +20,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_srvsvc.h"
#include "system/time.h"
/*
* get the remote time of a server via srvsvc_NetRemoteTOD

View File

@ -23,6 +23,7 @@
#include "includes.h"
#include "vfs_posix.h"
#include "system/dir.h"
struct pvfs_dir {
struct pvfs_state *pvfs;

View File

@ -22,6 +22,7 @@
#include "include/includes.h"
#include "vfs_posix.h"
#include "system/time.h"
/*

View File

@ -22,6 +22,7 @@
#include "include/includes.h"
#include "vfs_posix.h"
#include "system/time.h"
/*
create file handles with convenient numbers for sniffers

View File

@ -29,6 +29,7 @@
#include "include/includes.h"
#include "vfs_posix.h"
#include "system/dir.h"
/*
compare two filename components. This is where the name mangling hook will go

View File

@ -22,6 +22,7 @@
#include "include/includes.h"
#include "vfs_posix.h"
#include "system/time.h"
/* the state of a search started with pvfs_search_first() */

View File

@ -22,6 +22,7 @@
#include "include/includes.h"
#include "vfs_posix.h"
#include "system/time.h"
/*
set info on a open file

View File

@ -25,6 +25,8 @@
#include "includes.h"
#include "svfs.h"
#include "system/time.h"
#include "system/dir.h"
/*
convert a windows path to a unix path - don't do any manging or case sensitive handling

View File

@ -28,6 +28,7 @@
#include "includes.h"
#include "svfs.h"
#include "system/time.h"
#ifndef O_DIRECTORY
#define O_DIRECTORY 0

View File

@ -53,6 +53,7 @@
*/
#include "includes.h"
#include "system/time.h"
#include "librpc/gen_ndr/ndr_svcctl.h"
BOOL in_client = False; /* Not in the client by default */

View File

@ -21,6 +21,7 @@
*/
#include "includes.h"
#include "system/time.h"
/* a reasonable amount of time to keep credentials live */
#define SCHANNEL_CREDENTIALS_EXPIRY 600

View File

@ -24,6 +24,7 @@
#include "librpc/gen_ndr/ndr_samr.h"
#include "rpc_server/common/common.h"
#include "rpc_server/samr/dcesrv_samr.h"
#include "system/time.h"

View File

@ -24,6 +24,7 @@
#include "librpc/gen_ndr/ndr_samr.h"
#include "rpc_server/common/common.h"
#include "rpc_server/samr/dcesrv_samr.h"
#include "system/time.h"
/*
samr_ChangePasswordUser

View File

@ -21,6 +21,7 @@
*/
#include "includes.h"
#include "system/time.h"
/*

View File

@ -22,6 +22,7 @@
*/
#include "includes.h"
#include "system/dir.h"
struct server_context *server_service_startup(const char *model)
{

View File

@ -23,6 +23,7 @@
#include "includes.h"
#include "libcli/raw/libcliraw.h"
#include "system/time.h"
/*
This test checks for two things:

View File

@ -22,6 +22,7 @@
#include "includes.h"
#include "libcli/raw/libcliraw.h"
#include "system/time.h"
static BOOL try_failed_login(struct smbcli_state *cli)
{

View File

@ -19,6 +19,7 @@
*/
#include "includes.h"
#include "system/time.h"
#include "libcli/raw/libcliraw.h"
#define NSERVERS 2

View File

@ -23,6 +23,7 @@
#include "includes.h"
#include "system/iconv.h"
#include "system/time.h"
#if HAVE_NATIVE_ICONV
/*

View File

@ -19,6 +19,7 @@
*/
#include "includes.h"
#include "system/time.h"
static int numops = 1000;
static BOOL showall;

View File

@ -20,6 +20,7 @@
#include "includes.h"
#include "libcli/raw/libcliraw.h"
#include "system/time.h"
static fstring password;
static fstring username;

View File

@ -21,6 +21,7 @@
*/
#include "includes.h"
#include "system/time.h"
#define MAX_FILES 100

View File

@ -19,6 +19,7 @@
*/
#include "includes.h"
#include "system/time.h"
/* basic testing of all RAW_CLOSE_* calls

View File

@ -20,6 +20,7 @@
#include "includes.h"
#include "libcli/raw/libcliraw.h"
#include "system/time.h"
#define CHECK_STATUS(status, correct) do { \
if (!NT_STATUS_EQUAL(status, correct)) { \

View File

@ -20,6 +20,7 @@
#include "includes.h"
#include "libcli/raw/libcliraw.h"
#include "system/time.h"
/* enum for whether reads/writes are possible on a file */
enum rdwr_mode {RDWR_NONE, RDWR_RDONLY, RDWR_WRONLY, RDWR_RDWR};

View File

@ -20,6 +20,7 @@
#include "includes.h"
#include "libcli/raw/libcliraw.h"
#include "system/time.h"
#define CHECK_STATUS(status, correct) do { \
if (!NT_STATUS_EQUAL(status, correct)) { \

View File

@ -19,6 +19,7 @@
*/
#include "includes.h"
#include "system/time.h"
#define BASEDIR "\\testsfileinfo"

View File

@ -20,6 +20,7 @@
#include "includes.h"
#include "libcli/raw/libcliraw.h"
#include "system/time.h"
#define CHECK_STATUS(status, correct) do { \
if (!NT_STATUS_EQUAL(status, correct)) { \

View File

@ -20,6 +20,7 @@
#include "includes.h"
#include "libcli/raw/libcliraw.h"
#include "system/time.h"
int torture_nprocs=4;
int torture_numops=100;

View File

@ -21,6 +21,7 @@
#include "includes.h"
#include "libcli/raw/libcliraw.h"
#include "system/shmem.h"
#include "system/time.h"
static struct timeval tp1,tp2;

View File

@ -20,6 +20,7 @@
*/
#include "includes.h"
#include "system/time.h"
/*
* Code for getting the remote time