Lines Matching defs:share
53 const char * server, const char * share,
74 srvcache->share_name = SMB_STRDUP(share);
113 const char * share, const char * workgroup, const char * user)
124 /* If the share name matches, we're cool */
125 if (strcmp(share, srv->share_name) == 0) {
130 * We only return an empty share name or the attribute
134 if (*share == '\0' || strcmp(share, "*IPC$") == 0)
138 * Never return an empty share name or the attribute
146 * If we're only allowing one share per server, then
152 * The currently connected share name
153 * doesn't match the requested share, so
154 * disconnect from the current share.
165 * Save the new share name. We've
166 * disconnected from the old share, and are
170 srv->share_name = SMB_STRDUP(share);