diff options
author | Volker Lendecke <vl@samba.org> | 2011-11-23 16:14:10 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-11-23 16:17:03 +0100 |
commit | d126414b47d8d8f9a6530a819a4f68aac0654617 (patch) | |
tree | b75107b75a7433078160c15872a3c5fd0b07287c /source3 | |
parent | b4ca1fa538bab84234263ea05238f4018f95b403 (diff) | |
download | samba-d126414b47d8d8f9a6530a819a4f68aac0654617.tar.gz samba-d126414b47d8d8f9a6530a819a4f68aac0654617.tar.bz2 samba-d126414b47d8d8f9a6530a819a4f68aac0654617.zip |
s3: Move server_info_struct to nmbd
That's the only place where it's used.
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/nameserv.h | 9 | ||||
-rw-r--r-- | source3/include/smb.h | 9 |
2 files changed, 9 insertions, 9 deletions
diff --git a/source3/include/nameserv.h b/source3/include/nameserv.h index 53ffd6faec..378d25e9f7 100644 --- a/source3/include/nameserv.h +++ b/source3/include/nameserv.h @@ -232,6 +232,15 @@ struct browse_cache_record { time_t death_time; /* The time the record must be removed. */ }; +/* used for server information: client, nameserv and ipc */ +struct server_info_struct { + fstring name; + uint32 type; + fstring comment; + fstring domain; /* used ONLY in ipc.c NOT namework.c */ + bool server_added; /* used ONLY in ipc.c NOT namework.c */ +}; + /* This is used to hold the list of servers in my domain, and is contained within lists of domains. */ diff --git a/source3/include/smb.h b/source3/include/smb.h index 95f0a7136d..b46f49881e 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -518,15 +518,6 @@ typedef struct { fstring domain; /* domain that the client specified */ } userdom_struct; -/* used for server information: client, nameserv and ipc */ -struct server_info_struct { - fstring name; - uint32 type; - fstring comment; - fstring domain; /* used ONLY in ipc.c NOT namework.c */ - bool server_added; /* used ONLY in ipc.c NOT namework.c */ -}; - /* used for network interfaces */ struct interface { struct interface *next, *prev; |