s3: Move server_info_struct to nmbd
authorVolker Lendecke <vl@samba.org>
Wed, 23 Nov 2011 15:14:10 +0000 (16:14 +0100)
committerVolker Lendecke <vl@samba.org>
Wed, 23 Nov 2011 15:17:03 +0000 (16:17 +0100)
That's the only place where it's used.

source3/include/nameserv.h
source3/include/smb.h

index 53ffd6faec3c4a069c884688a45e767b9c60e1bb..378d25e9f75109bb369bf3fb269e1b751e279df1 100644 (file)
@@ -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. */
 
index 95f0a7136d6fb5349d26863a4f2f62f206687619..b46f49881ef6cfbac6fa87485591ef9cc6175f05 100644 (file)
@@ -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;