From 539ef13bfe950c7c512a4bdafd9a846c04ba5be4 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 17 May 2010 16:25:26 +1000 Subject: 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 --- source3/include/proto.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'source3/include') 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); -- cgit