1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

netapi: add new SHARE_INFO structs to public header.

Guenther
(This used to be commit 30b99eb7e1)
This commit is contained in:
Günther Deschner 2008-09-04 16:46:36 +02:00
parent f079699ad5
commit d7b966714b

View File

@ -551,6 +551,16 @@ struct TIME_OF_DAY_INFO {
uint32_t tod_weekday; 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 { struct SHARE_INFO_2 {
const char * shi2_netname; const char * shi2_netname;
uint32_t shi2_type; uint32_t shi2_type;
@ -562,6 +572,25 @@ struct SHARE_INFO_2 {
const char * shi2_passwd; 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 */ #endif /* _HEADER_libnetapi */
/**************************************************************** /****************************************************************