summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-07-31 00:47:20 +0200
committerGünther Deschner <gd@samba.org>2010-07-31 00:50:31 +0200
commit813fbbd68c50811ad3776140e409d31b60dba76f (patch)
tree3101a4fa7300ade4dc14d4ac0c32a8d81e4bb3a7 /source3/include
parent28c74564c5bd3c972745deaa904ec8695f21ea1f (diff)
downloadsamba-813fbbd68c50811ad3776140e409d31b60dba76f.tar.gz
samba-813fbbd68c50811ad3776140e409d31b60dba76f.tar.bz2
samba-813fbbd68c50811ad3776140e409d31b60dba76f.zip
s3-build: avoid to globally include printing and spoolss headers.
This shrinks precompiled headers by 3MB and will slightly speed up any build. Guenther
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h1
-rw-r--r--source3/include/proto.h4
-rw-r--r--source3/include/registry.h2
-rw-r--r--source3/include/smb.h1
4 files changed, 2 insertions, 6 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 7ffb630ff4..2573585f6e 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -657,7 +657,6 @@ struct ntlmssp_state;
#include "auth.h"
#include "ntdomain.h"
#include "librpc/rpc/dcerpc.h"
-#include "nt_printing.h"
#include "idmap.h"
#include "client.h"
diff --git a/source3/include/proto.h b/source3/include/proto.h
index bf7a41e13e..4e3ec7a24f 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1908,9 +1908,6 @@ WERROR get_remote_printer_publishing_data(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
ADS_MODLIST *mods,
const char *printer);
-bool get_local_printer_publishing_data(TALLOC_CTX *mem_ctx,
- ADS_MODLIST *mods,
- NT_PRINTER_DATA *data);
/* The following definitions come from libads/ldap_user.c */
@@ -5460,7 +5457,6 @@ void reply_transs(struct smb_request *req);
/* The following definitions come from smbd/lanman.c */
-time_t spoolss_Time_to_time_t(const struct spoolss_Time *r);
void api_reply(connection_struct *conn, uint16 vuid,
struct smb_request *req,
char *data, char *params,
diff --git a/source3/include/registry.h b/source3/include/registry.h
index 9e7a1d2d0f..ca3a1d0364 100644
--- a/source3/include/registry.h
+++ b/source3/include/registry.h
@@ -23,6 +23,8 @@
#ifndef _REGISTRY_H
#define _REGISTRY_H
+#include "../librpc/gen_ndr/winreg.h"
+
struct registry_value {
enum winreg_Type type;
DATA_BLOB data;
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 5266192f0d..53228ba979 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -180,7 +180,6 @@ typedef union unid_t {
#include "librpc/gen_ndr/epmapper.h"
#include "librpc/gen_ndr/krb5pac.h"
#include "librpc/gen_ndr/dcerpc.h"
-#include "librpc/gen_ndr/spoolss.h"
struct lsa_dom_info {
bool valid;