Lines Matching defs:share
301 * "//host[/share[/path]]"
309 char *host, *share, *path;
338 /* Find the share part, if any. */
339 share = strchr(p, '/');
340 if (share)
341 *share = '\0';
356 if (share) {
358 *share = '/';
359 p = share + 1;
365 (void) smbfs_unpercent(p); /* share component */
369 "empty share name"), 0);
375 "no share name required"), 0);
383 * to have share: IPC$
403 smbfs_error(dgettext(TEXT_DOMAIN, "empty share name"), 0);
659 smbfs_ctx_setshare(struct smb_ctx *ctx, const char *share, int stype)
661 if (strlen(share) >= SMBIOC_MAX_NAME) {
663 "share name '%s' too long"), 0, share);
668 if ((ctx->ct_origshare = strdup(share)) == NULL)
795 "no share name specified for %s@%s"),
973 /* The share name */
977 /* The share "use" type. */
981 * Todo: share passwords for share-level security.
991 * Check the returned share type
997 "%s: incompatible share type"),