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

r25026: Move param/param.h out of includes.h

This commit is contained in:
Jelmer Vernooij 2007-09-08 12:42:09 +00:00 committed by Gerald (Jerry) Carter
parent ef695539bf
commit abe8349f9b
205 changed files with 209 additions and 9 deletions

View File

@ -23,6 +23,7 @@
#include "auth/auth.h"
#include "lib/events/events.h"
#include "build.h"
#include "param/param.h"
/***************************************************************************
Set a fixed challenge

View File

@ -29,6 +29,7 @@
#include "dsdb/samdb/samdb.h"
#include "libcli/security/security.h"
#include "libcli/ldap/ldap.h"
#include "param/param.h"
extern const char *user_attrs[];
extern const char *domain_ref_attrs[];

View File

@ -24,6 +24,7 @@
#include "system/passwd.h" /* needed by some systems for struct passwd */
#include "lib/socket/socket.h"
#include "auth/pam_errors.h"
#include "param/param.h"
/* TODO: look at how to best fill in parms retrieveing a struct passwd info
* except in case USER_INFO_DONT_CHECK_UNIX_ACCOUNT is set

View File

@ -27,6 +27,7 @@
#include "libcli/auth/libcli_auth.h"
#include "dsdb/samdb/samdb.h"
#include "auth/credentials/credentials.h"
#include "param/param.h"
/* this default function can be used by mostly all backends
* which don't want to set a challenge

View File

@ -27,6 +27,7 @@
#include "auth/credentials/credentials_krb5.h"
#include "libcli/auth/libcli_auth.h"
#include "lib/events/events.h"
#include "param/param.h"
/**
* Create a new credentials structure

View File

@ -29,6 +29,7 @@
#include "db_wrap.h"
#include "auth/credentials/credentials.h"
#include "auth/credentials/credentials_krb5.h"
#include "param/param.h"
/**
* Read a file descriptor, and parse it for a password (eg from a file or stdin)

View File

@ -27,6 +27,7 @@
#include "librpc/rpc/dcerpc.h"
#include "auth/credentials/credentials.h"
#include "auth/gensec/gensec.h"
#include "param/param.h"
/* the list of currently registered GENSEC backends */
static struct gensec_security_ops **generic_security_ops;

View File

@ -34,6 +34,7 @@
#include "auth/credentials/credentials.h"
#include "auth/credentials/credentials_krb5.h"
#include "auth/gensec/gensec.h"
#include "param/param.h"
enum gensec_gssapi_sasl_state
{

View File

@ -36,6 +36,7 @@
#include "auth/credentials/credentials.h"
#include "auth/credentials/credentials_krb5.h"
#include "auth/gensec/gensec.h"
#include "param/param.h"
enum GENSEC_KRB5_STATE {
GENSEC_KRB5_SERVER_START,

View File

@ -26,6 +26,7 @@
#include "db_wrap.h"
#include "libcli/auth/libcli_auth.h"
#include "auth/auth.h"
#include "param/param.h"
/**
connect to the schannel ldb

View File

@ -29,6 +29,7 @@
#include "system/network.h"
#include "lib/events/events.h"
#include "roken.h"
#include "param/param.h"
/*
context structure for operations on cldap packets

View File

@ -23,6 +23,7 @@
#include "lib/crypto/crypto.h"
#include "librpc/gen_ndr/netlogon.h"
#include "libcli/auth/libcli_auth.h"
#include "param/param.h"
/****************************************************************************
Core of smb password checking routine.

View File

@ -28,6 +28,7 @@
#include "libcli/auth/libcli_auth.h"
#include "auth/credentials/credentials.h"
#include "auth/gensec/gensec.h"
#include "param/param.h"
/*********************************************************************
Client side NTLMSSP

View File

@ -30,6 +30,7 @@
#include "auth/credentials/credentials.h"
#include "auth/gensec/gensec.h"
#include "auth/auth.h"
#include "param/param.h"
/**
* Set a username on an NTLMSSP context - ensures it is talloc()ed

View File

@ -27,6 +27,7 @@
#include "libcli/security/security.h"
#include "libcli/ldap/ldap.h"
#include "librpc/gen_ndr/ndr_netlogon.h"
#include "param/param.h"
const char *user_attrs[] = {
/* required for the krb5 kdc */

View File

@ -33,6 +33,7 @@
#include "dsdb/samdb/samdb.h"
#include "db_wrap.h"
#include "auth/auth.h"
#include "param/param.h"
/*
handle incoming cldap requests

View File

@ -33,6 +33,7 @@
#include "db_wrap.h"
#include "system/network.h"
#include "lib/socket/netif.h"
#include "param/param.h"
/*
fill in the cldap netlogon union for a given version

View File

@ -24,6 +24,7 @@
#include "lib/cmdline/popt_common.h"
#include "cifsdd.h"
#include "param/param.h"
const char * const PROGNAME = "cifsdd";

View File

@ -40,6 +40,7 @@
#include "libcli/security/security.h"
#include "lib/smbreadline/smbreadline.h"
#include "librpc/gen_ndr/ndr_nbt.h"
#include "param/param.h"
static int io_bufsize = 64512;

View File

@ -28,6 +28,7 @@
#include "include/ctdb.h"
#include "db_wrap.h"
#include "lib/util/dlinklist.h"
#include "param/param.h"
/* a linked list of messaging handlers, allowing incoming messages
to be directed to the right messaging context */

View File

@ -49,6 +49,7 @@
#include "ntvfs/common/ntvfs_common.h"
#include "cluster/cluster.h"
#include "include/ctdb.h"
#include "param/param.h"
struct odb_context {
struct ctdb_context *ctdb;

View File

@ -25,6 +25,7 @@
#include "lib/tdb/include/tdb.h"
#include "db_wrap.h"
#include "system/filesys.h"
#include "param/param.h"
/*
server a server_id for the local node

View File

@ -31,6 +31,7 @@
#include "librpc/gen_ndr/ndr_misc.h"
#include "librpc/gen_ndr/ndr_drsuapi.h"
#include "librpc/gen_ndr/ndr_drsblobs.h"
#include "param/param.h"
static WERROR dreplsrv_init_creds(struct dreplsrv_service *service)
{

View File

@ -48,6 +48,7 @@
#include "librpc/ndr/libndr.h"
#include "librpc/gen_ndr/ndr_drsblobs.h"
#include "lib/crypto/crypto.h"
#include "param/param.h"
/* If we have decided there is reason to work on this request, then
* setup all the password hash types correctly.

View File

@ -35,6 +35,7 @@
#include "db_wrap.h"
#include "dsdb/samdb/samdb.h"
#include "dsdb/common/flags.h"
#include "param/param.h"
/*
connect to the SAM database

View File

@ -115,7 +115,6 @@
#include "libcli/util/nt_status.h"
#include "charset/charset.h"
#include "util/util.h"
#include "param/param.h"
#include "librpc/gen_ndr/misc.h"
typedef bool BOOL;

View File

@ -49,6 +49,7 @@
#include "librpc/ndr/libndr.h"
#include "librpc/gen_ndr/ndr_drsblobs.h"
#include "libcli/auth/libcli_auth.h"
#include "param/param.h"
enum hdb_ldb_ent_type
{ HDB_LDB_ENT_TYPE_CLIENT, HDB_LDB_ENT_TYPE_SERVER,

View File

@ -38,6 +38,7 @@
#include "heimdal/kdc/windc_plugin.h"
#include "heimdal/lib/krb5/krb5_locl.h"
#include "heimdal/kdc/kdc_locl.h"
#include "param/param.h"
/* Disgusting hack to get a mem_ctx into the hdb plugin, when used as a keytab */

View File

@ -26,6 +26,7 @@
#include "lib/db_wrap.h"
#include "auth/credentials/credentials.h"
#include "auth/gensec/gensec.h"
#include "param/param.h"
#define VALID_DN_SYNTAX(dn,i) do {\
if (!(dn)) {\

View File

@ -40,6 +40,7 @@
#include "system/network.h"
#include "lib/socket/netif.h"
#include "dsdb/samdb/samdb.h"
#include "param/param.h"
/*
close the socket and shutdown a server_context
*/

View File

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

View File

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

View File

@ -22,6 +22,7 @@
#include "includes.h"
#include "version.h"
#include "lib/cmdline/popt_common.h"
#include "param/param.h"
/* Handle command line options:
* -d,--debuglevel

View File

@ -23,6 +23,7 @@
#include "lib/cmdline/credentials.h"
#include "auth/credentials/credentials.h"
#include "auth/gensec/gensec.h"
#include "param/param.h"
/* Handle command line options:
* -U,--user

View File

@ -35,6 +35,7 @@
#include "lib/ldb/samba/ldif_handlers.h"
#include "db_wrap.h"
#include "dsdb/samdb/samdb.h"
#include "param/param.h"
static struct tdb_wrap *tdb_list;

View File

@ -23,6 +23,7 @@
#include "includes.h"
#include "lib/tdb/include/tdb.h"
#include "lib/dbwrap/dbwrap.h"
#include "param/param.h"
/*
open a temporary database

View File

@ -25,6 +25,7 @@
#include "lib/dbwrap/dbwrap.h"
#include "system/filesys.h"
#include "db_wrap.h"
#include "param/param.h"
struct db_tdb_ctx {
struct tdb_wrap *wtdb;

View File

@ -57,6 +57,7 @@
#include "lib/events/events.h"
#include "lib/events/events_internal.h"
#include "lib/util/dlinklist.h"
#include "param/param.h"
#if _SAMBA_BUILD_
#include "build.h"
#endif

View File

@ -36,6 +36,7 @@
#include "system/locale.h"
#include "tools/cmdline.h"
#include "tools/convert.h"
#include "param/param.h"
struct schema_conv {
int count;

View File

@ -34,6 +34,7 @@
#include "lib/util/util_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

@ -18,6 +18,7 @@
#include "includes.h"
#include "registry.h"
#include "param/param.h"
/**
* @file

View File

@ -26,6 +26,7 @@
#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,6 +26,7 @@
#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,6 +23,7 @@
#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

@ -23,6 +23,7 @@
#include "lib/socket/socket.h"
#include "system/filesys.h"
#include "system/network.h"
#include "param/param.h"
/*
auto-close sockets on free

View File

@ -39,6 +39,7 @@
#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

@ -25,6 +25,7 @@
#include "libcli/raw/libcliraw.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

@ -25,6 +25,7 @@
#include "lib/socket/socket.h"
#include "libcli/resolve/resolve.h"
#include "librpc/gen_ndr/ndr_nbt.h"
#include "param/param.h"
NTSTATUS dgram_mailslot_browse_send(struct nbt_dgram_socket *dgmsock,
struct nbt_name *dest_name,

View File

@ -36,6 +36,7 @@
#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,6 +24,7 @@
#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

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

View File

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

View File

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

View File

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

View File

@ -24,6 +24,7 @@
#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

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

View File

@ -25,6 +25,7 @@
#include "libcli/nbt/libnbt.h"
#include "lib/socket/socket.h"
#include "librpc/gen_ndr/ndr_nbt.h"
#include "param/param.h"
#define NBT_MAX_REPLIES 1000

View File

@ -26,6 +26,7 @@
#include "libcli/composite/composite.h"
#include "lib/socket/socket.h"
#include "libcli/resolve/resolve.h"
#include "param/param.h"
struct sock_connect_state {
struct composite_context *ctx;

View File

@ -26,6 +26,7 @@
#include "lib/events/events.h"
#include "lib/stream/packet.h"
#include "librpc/gen_ndr/ndr_nbt.h"
#include "param/param.h"
/*

View File

@ -23,6 +23,7 @@
#include "includes.h"
#include "libcli/raw/libcliraw.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

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

View File

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

View File

@ -29,6 +29,7 @@
#include "lib/socket/netif.h"
#include "librpc/gen_ndr/ndr_nbt.h"
#include "libcli/nbt/libnbt.h"
#include "param/param.h"
struct nbtlist_state {
struct nbt_name name;

View File

@ -24,6 +24,7 @@
#include "libcli/composite/composite.h"
#include "libcli/resolve/resolve.h"
#include "librpc/gen_ndr/ndr_nbt.h"
#include "param/param.h"
struct resolve_state {
struct nbt_name name;

View File

@ -22,6 +22,7 @@
#include "includes.h"
#include "libcli/nbt/libnbt.h"
#include "libcli/resolve/resolve.h"
#include "param/param.h"
/*
wins name resolution method - async send

View File

@ -25,6 +25,7 @@
#include "libcli/smb2/smb2_calls.h"
#include "libcli/composite/composite.h"
#include "libcli/resolve/resolve.h"
#include "param/param.h"
struct smb2_connect_state {
struct cli_credentials *credentials;

View File

@ -28,6 +28,7 @@
#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

@ -29,6 +29,7 @@
#include "auth/gensec/gensec.h"
#include "auth/credentials/credentials.h"
#include "version.h"
#include "param/param.h"
struct sesssetup_state {
union smb_sesssetup setup;

View File

@ -20,6 +20,7 @@
*/
#include "includes.h"
#include "param/param.h"
/* This map was extracted by the ERRMAPEXTRACT smbtorture command.
The setup was a Samba HEAD (2002-01-03) PDC and an Win2k member

View File

@ -20,6 +20,7 @@
#include "includes.h"
#include "libnet/libnet.h"
#include "lib/events/events.h"
#include "param/param.h"
struct libnet_context *libnet_context_init(struct event_context *ev)
{

View File

@ -32,6 +32,7 @@
#include "librpc/gen_ndr/ndr_security.h"
#include "librpc/gen_ndr/ndr_drsuapi.h"
#include "auth/gensec/gensec.h"
#include "param/param.h"
/*****************************************************************************
* Windows 2003 (w2k3) does the following steps when changing the server role

View File

@ -31,6 +31,7 @@
#include "auth/credentials/credentials.h"
#include "auth/credentials/credentials_krb5.h"
#include "librpc/gen_ndr/ndr_samr_c.h"
#include "param/param.h"
/*
* complete a domain join, when joining to a AD domain:

View File

@ -31,6 +31,7 @@
#include "db_wrap.h"
#include "libcli/security/security.h"
#include "librpc/rpc/dcerpc.h"
#include "param/param.h"
struct samsync_ldb_secret {
struct samsync_ldb_secret *prev, *next;

View File

@ -31,6 +31,7 @@
#include "libcli/smb2/smb2_calls.h"
#include "librpc/rpc/dcerpc.h"
#include "auth/credentials/credentials.h"
#include "param/param.h"
struct pipe_np_smb_state {

View File

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

View File

@ -29,6 +29,7 @@
#include "librpc/gen_ndr/ndr_dcerpc.h"
#include "librpc/gen_ndr/ndr_misc.h"
#include "auth/credentials/credentials.h"
#include "param/param.h"
/*
find a dcerpc call on an interface by name

View File

@ -27,6 +27,7 @@
#include "auth/auth.h"
#include "db_wrap.h"
#include "librpc/gen_ndr/ndr_nbt.h"
#include "param/param.h"
/*
reply to a GETDC request

View File

@ -23,6 +23,7 @@
#include "nbt_server/nbt_server.h"
#include "lib/socket/socket.h"
#include "librpc/gen_ndr/ndr_nbt.h"
#include "param/param.h"
/*
reply to a SAM LOGON request

View File

@ -26,6 +26,7 @@
#include "libcli/resolve/resolve.h"
#include "nbt_server/dgram/proto.h"
#include "librpc/gen_ndr/ndr_nbt.h"
#include "param/param.h"
/*
a list of mailslots that we have static handlers for

View File

@ -28,6 +28,7 @@
#include "nbt_server/dgram/proto.h"
#include "system/network.h"
#include "lib/socket/netif.h"
#include "param/param.h"
/*

View File

@ -23,6 +23,7 @@
#include "nbt_server/nbt_server.h"
#include "lib/socket/socket.h"
#include "librpc/gen_ndr/ndr_nbt.h"
#include "param/param.h"
/*
we received a badly formed packet - log it

View File

@ -26,6 +26,7 @@
#include "nbt_server/wins/winsserver.h"
#include "librpc/gen_ndr/ndr_nbt.h"
#include "lib/socket/socket.h"
#include "param/param.h"
/*
answer a name query

View File

@ -29,6 +29,7 @@
#include "nbt_server/wins/winsserver.h"
#include "librpc/gen_ndr/ndr_nbt.h"
#include "dsdb/samdb/samdb.h"
#include "param/param.h"
static void nbtd_start_refresh_timer(struct nbtd_iface_name *iname);

View File

@ -24,6 +24,7 @@
#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

@ -35,6 +35,7 @@
#include "lib/ldb/include/ldb_private.h"
#include "system/network.h"
#include "lib/socket/netif.h"
#include "param/param.h"
static int wins_ldb_verify(struct ldb_module *module, struct ldb_request *req)
{

View File

@ -26,6 +26,7 @@
#include "lib/events/events.h"
#include "librpc/gen_ndr/ndr_nbt.h"
#include "smbd/service_task.h"
#include "param/param.h"
static void nbtd_wins_refresh_handler(struct composite_context *c);

View File

@ -30,6 +30,7 @@
#include "db_wrap.h"
#include "system/network.h"
#include "lib/socket/netif.h"
#include "param/param.h"
uint64_t winsdb_get_maxVersion(struct winsdb_handle *h)
{

View File

@ -32,6 +32,7 @@
#include "lib/socket/socket.h"
#include "lib/socket/netif.h"
#include "lib/ldb/include/ldb.h"
#include "param/param.h"
/*
work out the ttl we will use given a client requested ttl

View File

@ -30,6 +30,7 @@
#include "libcli/security/security.h"
#include "lib/cmdline/popt_common.h"
#include "dynconfig.h"
#include "param/param.h"
extern int winbindd_fd;

View File

@ -25,6 +25,7 @@
#include "includes.h"
#include "ntptr/ntptr.h"
#include "build.h"
#include "param/param.h"
/* the list of currently registered NTPTR backends */
static struct ntptr_backend {

View File

@ -35,6 +35,7 @@
#include "dsdb/samdb/samdb.h"
#include "db_wrap.h"
#include "rpc_server/common/common.h"
#include "param/param.h"
/*
connect to the SPOOLSS database

View File

@ -31,6 +31,7 @@
#include "auth/credentials/credentials.h"
#include "ntvfs/ntvfs.h"
#include "lib/util/dlinklist.h"
#include "param/param.h"
struct cvfs_file {
struct cvfs_file *prev, *next;

View File

@ -41,6 +41,7 @@
#include "ntvfs/ntvfs.h"
#include "ntvfs/common/ntvfs_common.h"
#include "cluster/cluster.h"
#include "param/param.h"
static const struct opendb_ops *ops;

View File

@ -47,6 +47,7 @@
#include "ntvfs/ntvfs.h"
#include "ntvfs/common/ntvfs_common.h"
#include "cluster/cluster.h"
#include "param/param.h"
struct odb_context {
struct tdb_wrap *w;

View File

@ -26,6 +26,7 @@
#include "lib/util/dlinklist.h"
#include "build.h"
#include "ntvfs/ntvfs.h"
#include "param/param.h"
/* the list of currently registered NTVFS backends, note that there
* can be more than one backend with the same name, as long as they

View File

@ -22,6 +22,7 @@
#include "includes.h"
#include "system/locale.h"
#include "vfs_posix.h"
#include "param/param.h"
/*
this mangling scheme uses the following format

View File

@ -24,6 +24,7 @@
#include "includes.h"
#include "libcli/raw/ioctl.h"
#include "ntvfs/ntvfs.h"
#include "param/param.h"
/*
connect to a share - used when a tree_connect operation comes

View File

@ -27,6 +27,7 @@
#include "lib/events/events.h"
#include "lib/util/dlinklist.h"
#include "libcli/raw/smb.h"
#include "param/param.h"
#include <linux/inotify.h>
#include <asm/unistd.h>

View File

@ -27,6 +27,7 @@
#include "ntvfs/sysdep/sys_notify.h"
#include "lib/events/events.h"
#include "lib/util/dlinklist.h"
#include "param/param.h"
#include "build.h"
/* list of registered backends */

View File

@ -61,6 +61,7 @@
#include "smb_server/smb_server.h"
#include "libcli/raw/signing.h"
#include "lib/util/dlinklist.h"
#include "param/param.h"
#include "param/loadparm.h"
#include "pstring.h"

Some files were not shown because too many files have changed in this diff Show More