xref: /onnv-gate/usr/src/lib/libsmbfs/netsmb/smb_netshareenum.h (revision 6007:d57e38e8fdd1)
1*6007Sthurlow 
2*6007Sthurlow #ifndef _NETSMB_SMB_NETSHAREENUM_H_
3*6007Sthurlow #define	_NETSMB_SMB_NETSHAREENUM_H_
4*6007Sthurlow 
5*6007Sthurlow #pragma ident	"%Z%%M%	%I%	%E% SMI"
6*6007Sthurlow 
7*6007Sthurlow /* This is from Apple.  See ../smb/netshareenum.c */
8*6007Sthurlow 
9*6007Sthurlow struct share_info {
10*6007Sthurlow 	uint16_t	type;
11*6007Sthurlow 	char		*netname;
12*6007Sthurlow 	char		*remark;
13*6007Sthurlow };
14*6007Sthurlow typedef struct share_info share_info_t;
15*6007Sthurlow 
16*6007Sthurlow int  smb_netshareenum(struct smb_ctx *, int *, int *, struct share_info **);
17*6007Sthurlow 
18*6007Sthurlow #endif /* _NETSMB_SMB_NETSHAREENUM_H_ */
19