1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-22 05:57:43 +03:00

Remove unused include param/param.h.

This commit is contained in:
Jelmer Vernooij 2008-10-24 16:37:56 +02:00
parent f7692d16e3
commit 23302413b3
79 changed files with 11 additions and 87 deletions

View File

@ -22,7 +22,6 @@
#include "../lib/util/dlinklist.h"
#include "system/iconv.h"
#include "system/filesys.h"
#include "param/param.h"
/**

View File

@ -29,7 +29,6 @@
*/
#include "includes.h"
#include "param/param.h"
static int null_match(const char *p)
{

View File

@ -23,7 +23,6 @@
#include "../libcli/nbt/libnbt.h"
#include "../libcli/nbt/nbt_proto.h"
#include "lib/socket/socket.h"
#include "param/param.h"
/**
send a nbt name query

View File

@ -24,7 +24,6 @@
#include "../libcli/nbt/nbt_proto.h"
#include "libcli/composite/composite.h"
#include "lib/socket/socket.h"
#include "param/param.h"
/*
send a nbt name refresh request

View File

@ -25,7 +25,6 @@
#include "libcli/composite/composite.h"
#include "lib/socket/socket.h"
#include "librpc/gen_ndr/ndr_nbt.h"
#include "param/param.h"
/*
send a nbt name registration request

View File

@ -23,7 +23,6 @@
#include "../libcli/nbt/libnbt.h"
#include "../libcli/nbt/nbt_proto.h"
#include "lib/socket/socket.h"
#include "param/param.h"
/*
send a nbt name release request

View File

@ -30,7 +30,6 @@
#include "librpc/gen_ndr/ndr_krb5pac.h"
#include "lib/ldb/include/ldb.h"
#include "auth/auth_sam_reply.h"
#include "param/param.h"
krb5_error_code check_pac_checksum(TALLOC_CTX *mem_ctx,
DATA_BLOB pac_data,

View File

@ -20,7 +20,6 @@
*/
#include "includes.h"
#include "param/param.h"
#include "auth/ntlmssp/msrpc_parse.h"
/*

View File

@ -26,7 +26,6 @@
#include "../lib/crypto/crypto.h"
#include "auth/credentials/credentials.h"
#include "auth/gensec/gensec.h"
#include "param/param.h"
#define CLI_SIGN "session key to client-to-server signing key magic constant"
#define CLI_SEAL "session key to client-to-server sealing key magic constant"

View File

@ -37,7 +37,6 @@
#include "includes.h"
#include "ldb/include/ldb_includes.h"
#include "librpc/gen_ndr/ndr_misc.h"
#include "param/param.h"
#include "dsdb/samdb/samdb.h"
#include "dsdb/common/flags.h"

View File

@ -32,7 +32,6 @@
#include "auth/credentials/credentials.h"
#include "auth/credentials/credentials_krb5.h"
#include "system/kerberos.h"
#include "param/param.h"
struct dn_list {
struct cli_credentials *creds;

View File

@ -27,7 +27,6 @@
#include "system/time.h"
#include "../lib/util/charset/charset.h"
#include "librpc/ndr/libndr.h"
#include "param/param.h"
static WERROR dsdb_syntax_FOOBAR_drsuapi_to_ldb(const struct dsdb_schema *schema,
const struct dsdb_attribute *attr,

View File

@ -55,10 +55,4 @@
#define TALLOC_ABORT(reason) smb_panic(reason)
#endif
/* this needs to be a string which is not in the C library. We
previously used "init_module", but that meant that modules which
did not define this function ended up calling the C library
function init_module() which makes a system call */
#define SAMBA_INIT_MODULE "samba_init_module"
#endif /* _INCLUDES_H */

View File

@ -28,7 +28,6 @@
#include "auth/auth.h"
#include "auth/auth_sam.h"
#include "auth/auth_sam_reply.h"
#include "param/param.h"
#include "kdc/kdc.h"
struct krb5_dh_moduli;

View File

@ -49,7 +49,6 @@
#include "libcli/ldap/ldap_client.h"
#include "auth/auth.h"
#include "auth/credentials/credentials.h"
#include "param/param.h"
struct ildb_private {
struct ldap_connection *ldap;

View File

@ -33,7 +33,6 @@
#include "../tdb/include/tdb.h"
#include "../lib/util/util_tdb.h"
#include "cluster/cluster.h"
#include "param/param.h"
/* change the message version with any incompatible changes in the protocol */
#define MESSAGING_VERSION 1

View File

@ -23,7 +23,6 @@
#include "includes.h"
#include "lib/registry/registry.h"
#include "system/filesys.h"
#include "param/param.h"
_PUBLIC_ WERROR reg_preg_diff_load(int fd,

View File

@ -25,7 +25,6 @@
#include "includes.h"
#include "lib/registry/registry.h"
#include "system/filesys.h"
#include "param/param.h"
/**
* @file

View File

@ -22,7 +22,6 @@
#include "includes.h"
#include "lib/registry/registry.h"
#include "system/filesys.h"
#include "param/param.h"
#include "librpc/gen_ndr/winreg.h"
struct preg_data {
@ -48,7 +47,7 @@ static WERROR preg_write_utf16(struct smb_iconv_convenience *ic, int fd, const c
size_t size;
for (i = 0; i < strlen(string); i+=size) {
v = next_codepoint(ic, &string[i], &size);
v = next_codepoint_convenience(ic, &string[i], &size);
if (write(fd, &v, 2) < 2) {
return WERR_GENERAL_FAILURE;
}

View File

@ -23,7 +23,6 @@
#include "lib/registry/tdr_regf.h"
#include "librpc/gen_ndr/ndr_security.h"
#include "librpc/gen_ndr/winreg.h"
#include "param/param.h"
#include "lib/registry/registry.h"
#include "libcli/security/security.h"

View File

@ -20,7 +20,6 @@
#include "includes.h"
#include "lib/registry/registry.h"
#include "librpc/gen_ndr/winreg.h"
#include "param/param.h"
/**
* @file

View File

@ -26,7 +26,6 @@
#include "lib/events/events.h"
#include "libcli/composite/composite.h"
#include "libcli/resolve/resolve.h"
#include "param/param.h"
struct connect_state {

View File

@ -26,7 +26,6 @@
#include "lib/events/events.h"
#include "libcli/composite/composite.h"
#include "libcli/resolve/resolve.h"
#include "param/param.h"
#define MULTI_PORT_DELAY 2000 /* microseconds */

View File

@ -23,7 +23,6 @@
#include "system/network.h"
#include "lib/socket/netif.h"
#include "../lib/util/dlinklist.h"
#include "param/param.h"
/** used for network interfaces */
struct interface {

View File

@ -24,7 +24,6 @@
#include "system/filesys.h"
#include "system/network.h"
#include "tdr/tdr.h"
#include "param/param.h"
#define TDR_BASE_MARSHALL_SIZE 1024

View File

@ -26,7 +26,6 @@
#include "librpc/gen_ndr/com_wmi.h"
#include "librpc/rpc/dcerpc.h"
#include "librpc/ndr/ndr_table.h"
#include "param/param.h"
struct IWbemServices;
struct IWbemContext;

View File

@ -27,7 +27,6 @@
#include "auth/ntlmssp/msrpc_parse.h"
#include "../lib/crypto/crypto.h"
#include "libcli/auth/libcli_auth.h"
#include "param/param.h"
/*
This implements the X/Open SMB password encryption

View File

@ -40,7 +40,6 @@
#include "lib/socket/socket.h"
#include "libcli/security/security.h"
#include "librpc/gen_ndr/ndr_nbt.h"
#include "param/param.h"
/*
destroy a pending request

View File

@ -26,7 +26,6 @@
#include "libcli/raw/raw_proto.h"
#include "libcli/auth/libcli_auth.h"
#include "libcli/smb_composite/smb_composite.h"
#include "param/param.h"
/*
wrapper around smbcli_sock_connect()

View File

@ -24,7 +24,6 @@
#include "../lib/util/dlinklist.h"
#include "libcli/dgram/libdgram.h"
#include "lib/socket/socket.h"
#include "param/param.h"
#include "librpc/gen_ndr/ndr_nbt.h"

View File

@ -36,7 +36,6 @@
#include "../lib/util/dlinklist.h"
#include "libcli/dgram/libdgram.h"
#include "lib/socket/socket.h"
#include "param/param.h"
/*
destroy a mailslot handler

View File

@ -24,7 +24,6 @@
#include "lib/socket/socket.h"
#include "libcli/resolve/resolve.h"
#include "librpc/gen_ndr/ndr_nbt.h"
#include "param/param.h"
/*
send a netlogon mailslot request

View File

@ -28,7 +28,6 @@
#include "libcli/libcli.h"
#include "libcli/resolve/resolve.h"
#include "libcli/finddcs.h"
#include "param/param.h"
struct finddcs_state {
struct composite_context *ctx;

View File

@ -23,7 +23,6 @@
#include "libcli/raw/libcliraw.h"
#include "libcli/raw/raw_proto.h"
#include "system/filesys.h"
#include "param/param.h"
#define SETUP_REQUEST_SESSION(cmd, wct, buflen) do { \
req = smbcli_request_setup_session(session, cmd, wct, buflen); \

View File

@ -27,7 +27,6 @@
#include "lib/events/events.h"
#include "lib/stream/packet.h"
#include "librpc/gen_ndr/ndr_nbt.h"
#include "param/param.h"
#include "../libcli/nbt/libnbt.h"

View File

@ -24,7 +24,6 @@
#include "libcli/raw/libcliraw.h"
#include "libcli/raw/raw_proto.h"
#include "libcli/smb_composite/smb_composite.h"
#include "param/param.h"
#define SETUP_REQUEST_TREE(cmd, wct, buflen) do { \
req = smbcli_request_setup(tree, cmd, wct, buflen); \

View File

@ -22,7 +22,6 @@
#include "libcli/raw/libcliraw.h"
#include "libcli/raw/raw_proto.h"
#include "librpc/gen_ndr/ndr_security.h"
#include "param/param.h"
/****************************************************************************
fetch file ACL (async send)

View File

@ -23,7 +23,6 @@
#include "libcli/raw/libcliraw.h"
#include "libcli/raw/raw_proto.h"
#include "librpc/gen_ndr/ndr_security.h"
#include "param/param.h"
/* local macros to make the code more readable */
#define FINFO_CHECK_MIN_SIZE(size) if (blob->length < (size)) { \

View File

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

View File

@ -27,7 +27,6 @@
#include "libcli/raw/raw_proto.h"
#include "../lib/util/dlinklist.h"
#include "lib/events/events.h"
#include "param/param.h"
#include "librpc/ndr/libndr.h"
#include "librpc/gen_ndr/ndr_misc.h"

View File

@ -24,7 +24,6 @@
#include "libcli/raw/libcliraw.h"
#include "libcli/raw/raw_proto.h"
#include "../lib/crypto/crypto.h"
#include "param/param.h"
/***********************************************************
SMB signing - Common code before we set a new signing implementation

View File

@ -25,7 +25,6 @@
#include "libcli/composite/composite.h"
#include "libcli/resolve/resolve.h"
#include "librpc/gen_ndr/ndr_nbt.h"
#include "param/param.h"
#include "system/network.h"
#include "../lib/util/dlinklist.h"

View File

@ -26,7 +26,6 @@
#include "../lib/util/dlinklist.h"
#include "lib/events/events.h"
#include "libcli/smb2/smb2_calls.h"
#include "param/param.h"
/* fill in the bufinfo */
void smb2_setup_bufinfo(struct smb2_request *req)

View File

@ -29,7 +29,6 @@
#include "libcli/resolve/resolve.h"
#include "auth/credentials/credentials.h"
#include "librpc/gen_ndr/ndr_nbt.h"
#include "param/param.h"
/* the stages of this call */
enum connect_stage {CONNECT_RESOLVE,

View File

@ -23,7 +23,6 @@
#include "includes.h"
#include "libcli/composite/composite.h"
#include "libcli/smb_composite/smb_composite.h"
#include "param/param.h"
#include "libcli/resolve/resolve.h"
enum fetchfile_stage {FETCHFILE_CONNECT,

View File

@ -7,7 +7,6 @@
#include "libcli/raw/raw_proto.h"
#include "libcli/composite/composite.h"
#include "libcli/smb_composite/smb_composite.h"
#include "param/param.h"
#include "libcli/resolve/resolve.h"
/* the stages of this call */

View File

@ -29,7 +29,6 @@
#include "libcli/raw/raw_proto.h"
#include "libcli/composite/composite.h"
#include "libcli/smb_composite/smb_composite.h"
#include "param/param.h"
#include "libcli/smb2/smb2_calls.h"
/*

View File

@ -32,7 +32,6 @@
#include "librpc/gen_ndr/ndr_lsa.h"
#include "librpc/gen_ndr/ndr_lsa_c.h"
#include "libcli/util/clilsa.h"
#include "param/param.h"
struct smblsa_state {
struct dcerpc_pipe *pipe;

View File

@ -20,7 +20,6 @@
#include "includes.h"
#include <Python.h>
#include "libnet.h"
#include "param/param.h"
#include "libcli/security/security.h"
#include "lib/events/events.h"

View File

@ -29,7 +29,6 @@
#include "librpc/rpc/dcerpc.h"
#include "librpc/rpc/dcerpc_proto.h"
#include "libcli/resolve/resolve.h"
#include "param/param.h"
/* transport private information used by general socket pipe transports */
struct sock_private {

View File

@ -24,7 +24,6 @@
#include "nbt_server/nbt_server.h"
#include "nbt_server/wins/winsdb.h"
#include "system/filesys.h"
#include "param/param.h"
static const char *wins_hook_action_string(enum wins_hook_action action)
{

View File

@ -22,7 +22,6 @@
#include "includes.h"
#include "vfs_posix.h"
#include "param/param.h"
/*
return true if a string contains one of the CIFS wildcard characters

View File

@ -26,7 +26,6 @@
#include "auth/auth.h"
#include "ntvfs/ntvfs.h"
#include "libcli/wbclient/wbclient.h"
#include "param/param.h"
struct unixuid_private {
struct wbc_context *wbc_ctx;

View File

@ -44,6 +44,12 @@ struct smbsrv_connection;
typedef NTSTATUS (*init_module_fn) (void);
/* this needs to be a string which is not in the C library. We
previously used "init_module", but that meant that modules which
did not define this function ended up calling the C library
function init_module() which makes a system call */
#define SAMBA_INIT_MODULE "samba_init_module"
enum server_role {
ROLE_STANDALONE=0,
ROLE_DOMAIN_MEMBER=1,

View File

@ -26,7 +26,6 @@
#include "libcli/wbclient/wbclient.h"
#include "lib/events/events.h"
#include "system/passwd.h"
#include "param/param.h"
static NTSTATUS dcerpc_unixinfo_bind(struct dcesrv_call_state *dce_call,
const struct dcesrv_interface *iface)

View File

@ -25,7 +25,6 @@
#include "ntvfs/ntvfs.h"
#include "libcli/raw/libcliraw.h"
#include "libcli/raw/raw_proto.h"
#include "param/param.h"
#define BLOB_CHECK(cmd) do { \
NTSTATUS _status; \

View File

@ -27,7 +27,6 @@
#include "libcli/raw/libcliraw.h"
#include "libcli/raw/raw_proto.h"
#include "librpc/gen_ndr/ndr_security.h"
#include "param/param.h"
/*
hold the state of a nttrans op while in progress. Needed to allow for async backend

View File

@ -27,7 +27,6 @@
#include "smbd/service_stream.h"
#include "lib/stream/packet.h"
#include "ntvfs/ntvfs.h"
#include "param/param.h"
/* we over allocate the data buffer to prevent too many realloc calls */

View File

@ -24,7 +24,6 @@
#include "smb_server/service_smb_proto.h"
#include "smb_server/smb2/smb2_server.h"
#include "ntvfs/ntvfs.h"
#include "param/param.h"
#include "libcli/raw/libcliraw.h"
#include "libcli/raw/raw_proto.h"
#include "librpc/gen_ndr/ndr_security.h"

View File

@ -21,7 +21,6 @@
#include "includes.h"
#include "system/filesys.h"
#include "param/param.h"
#include "smbd/pidfile.h"
/**

View File

@ -548,6 +548,7 @@ bool torture_nttrans_scan(struct torture_context *torture,
{
int op, level;
const char *fname = "\\scanner.dat";
struct smb_iconv_convenience *iconv_convenience = lp_iconv_convenience(torture->lp_ctx);
int fnum, dnum;
fnum = smbcli_open(cli->tree, fname, O_RDWR | O_CREAT | O_TRUNC,
@ -557,17 +558,17 @@ bool torture_nttrans_scan(struct torture_context *torture,
for (op=OP_MIN; op<=OP_MAX; op++) {
printf("Scanning op=%d\n", op);
for (level = 0; level <= 50; level++) {
scan_nttrans(lp_iconv_convenience(torture->lp_ctx),
scan_nttrans(iconv_convenience,
cli, op, level, fnum, dnum, fname);
}
for (level = 0x100; level <= 0x130; level++) {
scan_nttrans(lp_iconv_convenience(torture->lp_ctx),
scan_nttrans(iconv_convenience,
cli, op, level, fnum, dnum, fname);
}
for (level = 1000; level < 1050; level++) {
scan_nttrans(lp_iconv_convenience(torture->lp_ctx),
scan_nttrans(iconv_convenience,
cli, op, level, fnum, dnum, fname);
}
}

View File

@ -26,7 +26,6 @@
#include "torture/rpc/rpc.h"
#include "libnet/libnet.h"
#include "librpc/gen_ndr/ndr_samr_c.h"
#include "param/param.h"
#include "torture/libnet/utils.h"

View File

@ -25,7 +25,6 @@
#include "libcli/raw/libcliraw.h"
#include "libcli/libcli.h"
#include "torture/util.h"
#include "param/param.h"
#define BASEDIR "\\testeas"

View File

@ -18,7 +18,6 @@
*/
#include "includes.h"
#include "param/param.h"
#include "system/filesys.h"
#include "torture/smbtorture.h"
#include "torture/basic/proto.h"

View File

@ -23,7 +23,6 @@
#include "libcli/raw/raw_proto.h"
#include "libcli/libcli.h"
#include "torture/util.h"
#include "param/param.h"
#define BASEDIR "\\mkdirtest"

View File

@ -24,7 +24,6 @@
#include "libcli/libcli.h"
#include "system/filesys.h"
#include "torture/util.h"
#include "param/param.h"
#define BASEDIR "\\test_notify"

View File

@ -33,7 +33,6 @@
#include "libcli/composite/composite.h"
#include "libcli/smb_composite/smb_composite.h"
#include "libcli/resolve/resolve.h"
#include "param/param.h"
#define BASEDIR "\\testoffline"

View File

@ -29,7 +29,6 @@
#include "torture/util.h"
#include "auth/credentials/credentials.h"
#include "lib/cmdline/popt_common.h"
#include "param/param.h"
/* enum for whether reads/writes are possible on a file */
enum rdwr_mode {RDWR_NONE, RDWR_RDONLY, RDWR_WRONLY, RDWR_RDWR};

View File

@ -50,7 +50,6 @@
#include "system/filesys.h"
#include "libcli/libcli.h"
#include "torture/util.h"
#include "param/param.h"
static void lock_byte(struct smbcli_state *cli, int fd, int offset, int lock_timeout)
{

View File

@ -25,7 +25,6 @@
#include "system/filesys.h"
#include "libcli/libcli.h"
#include "torture/util.h"
#include "param/param.h"
#define CHECK_STATUS(status, correct) do { \
if (!NT_STATUS_EQUAL(status, correct)) { \

View File

@ -24,7 +24,6 @@
#include "libcli/raw/raw_proto.h"
#include "libcli/libcli.h"
#include "torture/util.h"
#include "param/param.h"
#define CHECK_STATUS(status, correct) do { \
if (!NT_STATUS_EQUAL(status, correct)) { \

View File

@ -23,7 +23,6 @@
#include "torture/torture.h"
#include "librpc/gen_ndr/ndr_srvsvc_c.h"
#include "torture/rpc/rpc.h"
#include "param/param.h"
/**************************/
/* srvsvc_NetShare */

View File

@ -27,7 +27,6 @@
#include "torture/rpc/rpc.h"
#include "ldb/include/ldb.h"
#include "libcli/security/security.h"
#include "param/param.h"
static bool test_DsCrackNamesMatrix(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
struct DsPrivate *priv, const char *dn,

View File

@ -28,7 +28,6 @@
#include "libcli/auth/libcli_auth.h"
#include "libcli/security/security.h"
#include "torture/rpc/rpc.h"
#include "param/param.h"
#define TEST_ACCOUNT_NAME "samrtorturetest"
#define TEST_ALIASNAME "samrtorturetestalias"

View File

@ -25,7 +25,6 @@
#include "libcli/smb2/smb2_calls.h"
#include "torture/torture.h"
#include "torture/smb2/proto.h"
#include "param/param.h"
/*
send a close

View File

@ -24,7 +24,6 @@
#include "libcli/smb2/smb2_calls.h"
#include "torture/torture.h"
#include "torture/smb2/proto.h"
#include "param/param.h"
#include "librpc/gen_ndr/ndr_security.h"
#include "libcli/security/security.h"

View File

@ -26,8 +26,6 @@
#include "torture/torture.h"
#include "torture/smb2/proto.h"
#include "param/param.h"
static struct {
const char *name;
uint16_t level;

View File

@ -25,7 +25,6 @@
#include "libcli/smb2/smb2_calls.h"
#include "torture/torture.h"
#include "torture/smb2/proto.h"
#include "param/param.h"
#define CHECK_VAL(v, correct) do { \
if ((v) != (correct)) { \

View File

@ -25,7 +25,6 @@
#include "libcli/smb2/smb2_calls.h"
#include "torture/torture.h"
#include "torture/smb2/proto.h"
#include "param/param.h"
#define CHECK_VAL(v, correct) do { \
if ((v) != (correct)) { \