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