summaryrefslogtreecommitdiff
path: root/source/include/nameserv.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-03-15 21:45:45 +0000
committerJeremy Allison <jra@samba.org>2004-03-15 21:45:45 +0000
commit834d816caf9cd6318da00febde50d9233469dac2 (patch)
tree3abb07e54e591c56d6ccf1d06dd31aaa36a6a092 /source/include/nameserv.h
parent12f3f0268c49c9393ff4cd97cfcd802e6b61bbea (diff)
downloadsamba-834d816caf9cd6318da00febde50d9233469dac2.tar.gz
Use "unix netbios name" type unstring - 64 bytes long to manipulate netbios
names in nmbd. Allows conversion from dos codepage mb strings (ie. SJIS) to expand to utf8 size on read. Jeremy.
Diffstat (limited to 'source/include/nameserv.h')
-rw-r--r--source/include/nameserv.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/include/nameserv.h b/source/include/nameserv.h
index 5362960d62b..ec3d56c06b7 100644
--- a/source/include/nameserv.h
+++ b/source/include/nameserv.h
@@ -226,8 +226,8 @@ struct name_record {
/* Browser cache for synchronising browse lists. */
struct browse_cache_record {
ubi_dlNode node[1];
- fstring lmb_name;
- fstring work_group;
+ unstring lmb_name;
+ unstring work_group;
struct in_addr ip;
time_t sync_time;
time_t death_time; /* The time the record must be removed. */
@@ -265,9 +265,9 @@ struct work_record {
enum logon_state log_state;
/* Work group info. */
- fstring work_group;
+ unstring work_group;
int token; /* Used when communicating with backup browsers. */
- fstring local_master_browser_name; /* Current local master browser. */
+ unstring local_master_browser_name; /* Current local master browser. */
/* Announce info. */
time_t lastannounce_time;