summaryrefslogtreecommitdiff
path: root/source4/include/core.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-03-03 08:17:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:12 -0500
commite0f691b1e135fd39f7a68a6d8244573d038c8485 (patch)
treec0ed6f0d93a93ad8b904f2d3bb1c455d0684d606 /source4/include/core.h
parent2debfc918cc19e798f996f64dc5fe079b0c538cf (diff)
downloadsamba-e0f691b1e135fd39f7a68a6d8244573d038c8485.tar.gz
samba-e0f691b1e135fd39f7a68a6d8244573d038c8485.tar.bz2
samba-e0f691b1e135fd39f7a68a6d8244573d038c8485.zip
r13810: global data types are defined in core.h now...
metze (This used to be commit c6137a1af982bd77e4b24d05e82c8621b36d0fac)
Diffstat (limited to 'source4/include/core.h')
-rw-r--r--source4/include/core.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/include/core.h b/source4/include/core.h
index 0ffbeea6a4..ab5c1a55a3 100644
--- a/source4/include/core.h
+++ b/source4/include/core.h
@@ -48,6 +48,14 @@ struct data_blob_list_item {
/* 64 bit time (100 nanosec) 1601 - cifs6.txt, section 3.5, page 30, 4 byte aligned */
typedef uint64_t NTTIME;
+/*
+ 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);
#endif /* _SAMBA_CORE_H */