diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-06-25 02:29:09 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-06-25 02:29:09 +0000 |
commit | 0327428f27b453e5b2c1ee2751ab87d7716144d7 (patch) | |
tree | ecba28b78bd10b1c8103c19975105f2dd181cdef /source3/utils | |
parent | dd1bd8d0c8c09db23e944466a0443a5ad03bea26 (diff) | |
download | samba-0327428f27b453e5b2c1ee2751ab87d7716144d7.tar.gz samba-0327428f27b453e5b2c1ee2751ab87d7716144d7.tar.bz2 samba-0327428f27b453e5b2c1ee2751ab87d7716144d7.zip |
Break up samba's object dependencies, and its prototype includes.
Now smbclient, net, and swat use their own proto files - now the global
proto.h
The change to libads/kerberos.c was to break up the dependency on secrets.c -
we want to be able to write an ADS client that doesn't need local secrets.
I have other breakups in the works - I will remove the dependency of
rpc_parse on passdb (and therefore secrets.c) shortly.
(NOTE: This patch does *not* break up includes.h, or other such forbidden
actions).
Andrew Bartlett
(This used to be commit edb41dad2df0ae3db364dbc3896cc75956262edf)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net.h | 2 | ||||
-rw-r--r-- | source3/utils/net_help.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/source3/utils/net.h b/source3/utils/net.h index 5a53740679..86bdf2082e 100644 --- a/source3/utils/net.h +++ b/source3/utils/net.h @@ -16,6 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#include "../utils/net_proto.h" #define NET_FLAGS_MASTER 1 #define NET_FLAGS_DMB 2 diff --git a/source3/utils/net_help.c b/source3/utils/net_help.c index 40f1c409a1..ab3eac4b43 100644 --- a/source3/utils/net_help.c +++ b/source3/utils/net_help.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "../utils/net.h" int net_common_methods_usage(int argc, const char**argv) { |