summaryrefslogtreecommitdiffstats
path: root/include/linux/smb_mount.h
blob: 7f17487314c7eb0f5709d2bfa666eed7adae38ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
 *  smb_mount.h
 *
 *  Copyright (C) 1995, 1996 by Paal-Kr. Engstad and Volker Lendecke
 *
 */

#ifndef _LINUX_SMB_MOUNT_H
#define _LINUX_SMB_MOUNT_H

#include <linux/types.h>
#include <linux/in.h>

#define SMB_MOUNT_VERSION 5

struct smb_mount_data {
	int version;
	unsigned int fd;
        uid_t mounted_uid;      /* Who may umount() this filesystem? */
	struct sockaddr_in addr;

	char server_name[17];
        char client_name[17];
	char service[64];
        char root_path[64];

        char username[64];
	char password[64];
	char domain[64];

	unsigned short max_xmit;

        uid_t uid;
        gid_t gid;
        mode_t file_mode;
        mode_t dir_mode;
};

#endif