summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-05-06 12:53:38 +0200
committerGünther Deschner <gd@samba.org>2011-05-06 16:37:22 +0200
commit675573d54b717ffc24cf3b49301ff649aecc259a (patch)
tree0a360d725668c72b300619dc82fdb9e88790b661 /source3/include
parent27022587e31769718ab53f4d114e03ac2f205f27 (diff)
downloadsamba-675573d54b717ffc24cf3b49301ff649aecc259a.tar.gz
samba-675573d54b717ffc24cf3b49301ff649aecc259a.tar.bz2
samba-675573d54b717ffc24cf3b49301ff649aecc259a.zip
s3-includes: finally only include client.h when libsmb is used.
Guenther
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/async_smb.h2
-rw-r--r--source3/include/includes.h2
-rw-r--r--source3/include/proto.h1
3 files changed, 2 insertions, 3 deletions
diff --git a/source3/include/async_smb.h b/source3/include/async_smb.h
index d2303cc703..a8852b2eea 100644
--- a/source3/include/async_smb.h
+++ b/source3/include/async_smb.h
@@ -20,7 +20,7 @@
#ifndef __ASYNC_SMB_H__
#define __ASYNC_SMB_H__
-#include "includes.h"
+struct cli_state;
/*
* Fetch an error out of a NBT packet
diff --git a/source3/include/includes.h b/source3/include/includes.h
index ddac6d02d1..5e8b21235d 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -530,8 +530,6 @@ typedef char fstring[FSTRING_LEN];
#include "smb.h"
#include "../lib/util/byteorder.h"
-#include "client.h"
-
#include "module.h"
#include "../lib/util/talloc_stack.h"
#include "../lib/util/smb_threads.h"
diff --git a/source3/include/proto.h b/source3/include/proto.h
index c7d0827665..e0bdabc780 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1695,6 +1695,7 @@ const char *lp_printcapname(void);
bool lp_disable_spoolss( void );
void lp_set_spoolss_state( uint32 state );
uint32 lp_get_spoolss_state( void );
+struct smb_signing_state;
bool lp_use_sendfile(int snum, struct smb_signing_state *signing_state);
void set_use_sendfile(int snum, bool val);
void set_store_dos_attributes(int snum, bool val);