diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-05-17 16:25:26 +1000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-05-28 18:08:27 +0200 |
commit | 539ef13bfe950c7c512a4bdafd9a846c04ba5be4 (patch) | |
tree | a9f3f43930e4664dee57e8b5b4b5bfb88dd38893 /source3/include | |
parent | 59422efca9734f7e4248f9c7df8b6b823f17999b (diff) | |
download | samba-539ef13bfe950c7c512a4bdafd9a846c04ba5be4.tar.gz samba-539ef13bfe950c7c512a4bdafd9a846c04ba5be4.tar.bz2 samba-539ef13bfe950c7c512a4bdafd9a846c04ba5be4.zip |
s3:lib split out global workgroup and netbios name functions.
Having these in their own file allows easier selective inclusion.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index f53c52c663..934697eda4 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1125,15 +1125,18 @@ bool nt_time_is_set(const NTTIME *nt); char *get_user_home_dir(TALLOC_CTX *mem_ctx, const char *user); struct passwd *Get_Pwnam_alloc(TALLOC_CTX *mem_ctx, const char *user); +/* The following definitions come from lib/util_names.c */ +void gfree_netbios_names(void); +bool set_global_myname(const char *myname); +const char *global_myname(void); +bool set_global_myworkgroup(const char *myworkgroup); +const char *lp_workgroup(void); + /* The following definitions come from lib/util.c */ enum protocol_types get_Protocol(void); void set_Protocol(enum protocol_types p); bool all_zero(const uint8_t *ptr, size_t size); -bool set_global_myname(const char *myname); -const char *global_myname(void); -bool set_global_myworkgroup(const char *myworkgroup); -const char *lp_workgroup(void); bool set_global_scope(const char *scope); const char *global_scope(void); void gfree_names(void); |