summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-04 12:00:40 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-04 12:00:40 +0000
commit40984f6b55212c710f6a7c7b940a785b2b607985 (patch)
tree7cc4bcf05540c8b9066568a39c62675af704ccbb /source3/include
parent1970c92c0a56672308314d39718f994302c95c95 (diff)
downloadsamba-40984f6b55212c710f6a7c7b940a785b2b607985.tar.gz
samba-40984f6b55212c710f6a7c7b940a785b2b607985.tar.bz2
samba-40984f6b55212c710f6a7c7b940a785b2b607985.zip
- modified resolve_name() to take a name_type
- cleaned up resolve_name() (split into separate functions for each resolver) - if can't find local master then use #1B name - support listing of foreign workgroups in /smb/ (This used to be commit a4e607c17d1119925c9d0e1d05e0fe81e9a2d1aa)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 86792a2245..f89b7a7ff5 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -447,7 +447,7 @@ struct in_addr *name_query(int fd,char *name,int name_type, BOOL bcast,BOOL recu
FILE *startlmhosts(char *fname);
BOOL getlmhostsent( FILE *fp, char *name, int *name_type, struct in_addr *ipaddr);
void endlmhosts(FILE *fp);
-BOOL resolve_name(char *name, struct in_addr *return_ip);
+BOOL resolve_name(char *name, struct in_addr *return_ip, int name_type);
BOOL find_master(char *group, struct in_addr *master_ip);
/*The following definitions come from libsmb/nmblib.c */