Searched refs:share_info (Results 1 - 3 of 3) sorted by relevance
/opensolaris-onvv-gate/usr/src/lib/libsmbfs/netsmb/ |
H A D | smb_netshareenum.h | 9 struct share_info { struct 14 typedef struct share_info share_info_t; 16 int smb_netshareenum(struct smb_ctx *, int *, int *, struct share_info **);
|
/opensolaris-onvv-gate/usr/src/cmd/fs.d/smbclnt/smbutil/ |
H A D | view.c | 56 void print_shares(int, int, struct share_info *); 164 struct share_info *share_info; local 171 error = smb_netshareenum(ctx, &entries, &total, &share_info); 177 print_shares(entries, total, share_info); 183 struct share_info *share_info) 185 struct share_info *ep; 191 for (ep = share_info, i = 0; i < entries; i++, ep++) { 204 free(share_info); 182 print_shares(int entries, int total, struct share_info *share_info) argument [all...] |
/opensolaris-onvv-gate/usr/src/lib/libsmbfs/smb/ |
H A D | netshareenum.c | 79 struct share_info **entries_listp) 89 SHARE_ENUM_STRUCT share_info; 94 struct share_info *entry_list, *elp; 116 share_info.share_union.level = 1; 117 share_info.share_union.tagged_union.share1 = &share_info_1_container; 153 &share_info, 4294967295U, &total_entries, NULL); 195 entries = share_info.share_union.tagged_union.share1->share_count; 196 shares = share_info.share_union.tagged_union.share1->shares; 197 entry_list = calloc(entries, sizeof (struct share_info)); 253 if (share_info [all...] |
Completed in 89 milliseconds