summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/core.h22
-rw-r--r--source4/include/includes.h2
2 files changed, 2 insertions, 22 deletions
diff --git a/source4/include/core.h b/source4/include/core.h
index fc66e10283..270b6406a4 100644
--- a/source4/include/core.h
+++ b/source4/include/core.h
@@ -27,16 +27,6 @@
#include <stdlib.h>
-/*
- we use struct ipv4_addr to avoid having to include all the
- system networking headers everywhere
-*/
-struct ipv4_addr {
- uint32_t addr;
-};
-
-typedef NTSTATUS (*init_module_fn) (void);
-
/*
use the same structure for dom_sid2 as dom_sid. A dom_sid2 is really
just a dom sid, but with the sub_auths represented as a conformant
@@ -53,17 +43,7 @@ typedef NTSTATUS (*init_module_fn) (void);
/* same struct as dom_sid but inside a 28 bytes fixed buffer in NDR */
#define dom_sid28 dom_sid
-/* protocol types. It assumes that higher protocols include lower protocols
- as subsets. FIXME: Move to one of the smb-specific headers */
-enum protocol_types {
- PROTOCOL_NONE,
- PROTOCOL_CORE,
- PROTOCOL_COREPLUS,
- PROTOCOL_LANMAN1,
- PROTOCOL_LANMAN2,
- PROTOCOL_NT1,
- PROTOCOL_SMB2
-};
+
/* passed to br lock code. FIXME: Move to one of the smb-specific headers */
enum brl_type {
diff --git a/source4/include/includes.h b/source4/include/includes.h
index ac6204921c..d8503fe47a 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -109,7 +109,7 @@
#endif
/* Lists, trees, caching, database... */
-#include "talloc/talloc.h"
+#include <talloc.h>
#include "core.h"
#include <stdbool.h>
#include "charset/charset.h"