From a99b6219a810a1cd10bd62a6716780602808f0cd Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 2 Nov 2004 12:15:17 +0000 Subject: r3481: split out client.h and events.h (This used to be commit c6f486574470a311e0d336c026103f131451e21e) --- source4/include/client.h | 4 ++-- source4/include/rewrite.h | 3 --- source4/include/structs.h | 2 ++ 3 files changed, 4 insertions(+), 5 deletions(-) (limited to 'source4/include') diff --git a/source4/include/client.h b/source4/include/client.h index b7f1da28b3..d3c1756045 100644 --- a/source4/include/client.h +++ b/source4/include/client.h @@ -38,7 +38,7 @@ * These definitions depend on smb.h */ -typedef struct file_info +struct file_info { uint64_t size; uint16_t mode; @@ -50,7 +50,7 @@ typedef struct file_info time_t ctime; const char *name; char short_name[13*3]; /* the *3 is to cope with multi-byte */ -} file_info; +}; struct print_job_info { diff --git a/source4/include/rewrite.h b/source4/include/rewrite.h index 619942cac9..fa2168bed7 100644 --- a/source4/include/rewrite.h +++ b/source4/include/rewrite.h @@ -52,7 +52,6 @@ typedef int BOOL; #include "doserr.h" #include "enums.h" -#include "events.h" /* * Loopback command offsets. @@ -76,8 +75,6 @@ typedef int BOOL; #include "rpc_secdes.h" -#include "client.h" - #define SAFE_NETBIOS_CHARS ". -_" /* generic iconv conversion structure */ diff --git a/source4/include/structs.h b/source4/include/structs.h index 24ae2a5ba0..5c7c470a38 100644 --- a/source4/include/structs.h +++ b/source4/include/structs.h @@ -106,3 +106,5 @@ union libnet_rpc_connect; union libnet_RemoteTOD; struct net_functable; struct net_context; + +struct file_info; -- cgit