diff options
author | Günther Deschner <gd@samba.org> | 2008-09-04 16:46:36 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-09-05 12:53:56 +0200 |
commit | d7b966714b2851c011845be50945796fddd3769f (patch) | |
tree | fa6f3c22601c4e0206974a9a5b280928dab0d13c /source3/lib | |
parent | f079699ad54dde02bd7f176ac610ecbdd2598d7c (diff) | |
download | samba-d7b966714b2851c011845be50945796fddd3769f.tar.gz samba-d7b966714b2851c011845be50945796fddd3769f.tar.bz2 samba-d7b966714b2851c011845be50945796fddd3769f.zip |
netapi: add new SHARE_INFO structs to public header.
Guenther
(This used to be commit 30b99eb7e18ba274299ef37e3883154b35d6f2dc)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/netapi/netapi.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h index 89665371a0..856791807a 100644 --- a/source3/lib/netapi/netapi.h +++ b/source3/lib/netapi/netapi.h @@ -551,6 +551,16 @@ struct TIME_OF_DAY_INFO { uint32_t tod_weekday; }; +struct SHARE_INFO_0 { + const char * shi0_netname; +}; + +struct SHARE_INFO_1 { + const char * shi1_netname; + uint32_t shi1_type; + const char * shi1_remark; +}; + struct SHARE_INFO_2 { const char * shi2_netname; uint32_t shi2_type; @@ -562,6 +572,25 @@ struct SHARE_INFO_2 { const char * shi2_passwd; }; +struct SHARE_INFO_501 { + const char * shi501_netname; + uint32_t shi501_type; + const char * shi501_remark; + uint32_t shi501_flags; +}; + +struct SHARE_INFO_1004 { + const char * shi1004_remark; +}; + +struct SHARE_INFO_1005 { + uint32_t shi1005_flags; +}; + +struct SHARE_INFO_1006 { + uint32_t shi1006_max_uses; +}; + #endif /* _HEADER_libnetapi */ /**************************************************************** |