source: branches/client-2.0/src/rc/rc.rc_

Last change on this file was 520, checked in by Silvan Scherrer, 15 years ago

Samba Client 2.0: another bunch of updates

  • Property svn:eol-style set to native
File size: 2.4 KB
Line 
1#include <ndpl_rc.h>
2
3#include "rc.h"
4
5RCINCLUDE "rc.dlg"
6
7RCINCLUDE "description.rc"
8
9RCDATA NDRC_PLUGIN_NAME
10{
11 "SMBFS"
12}
13
14RCDATA NDRC_PLUGIN_DESC
15{
16"Access to SAMBA resources.\n
17Plugin Version _VERSION_ Build _BUILD_\n
18See help for more Information.\n
19"
20
21}
22
23RCDATA NDRC_PLUGIN_HELP
24{
25 "ndpsmb.hlp"
26}
27
28/* if dlg is the same for two types then one dlg id may be specified
29 for both descriptions (this is untested however :) */
30RCDATA NDRC_TYPE_FIRST
31{
32 DLG_ID, "SMBFS."
33}
34
35
36RCDATA NDRC_TYPE_HELP_FIRST
37{
38 "Help for command line utility:\r\n"
39 "\r\n"
40 "nd mount smbfs s:\\mountpoint ;workgroup=...;server=...;share=...;user=...;password=...;master=...;mastertype=...;easupport=...\r\n"
41 "\r\n"
42 " workgroup - name of workgroup\r\n"
43 " server - name or ip address of server\r\n"
44 " share - name of share\r\n"
45 " user - name of user\r\n"
46 " password - user password\r\n"
47 " master - name of master server or master workgroup\r\n"
48 " mastertype - 0 if 'master' is the name of master server, 1 if 'master' is the name of master workgroup\r\n"
49 " easupport - 0 to not support EA, 1 to support\r\n"
50 "\r\n"
51}
52
53HELPTABLE DLG_ID
54{
55 HELPITEM DLG_ID, DLG_ID, DLG_ID
56}
57
58HELPSUBTABLE DLG_ID
59SUBITEMSIZE 2
60{
61}
62
63/*
64 * ID, TYPE, REQUIRED, RANGE_LOW, RANGE_HIGH, "NAME", "FORMATSTRING", "DEFAULT" or DEFAULT
65 */
66
67RCDATA DLG_ID
68{
69 ENT_WORKGRP, PARMTYPE_STRING, 1L, 256L, "workgroup", "%s", ""
70}
71
72RCDATA (DLG_ID + 1)
73{
74 ENT_SERVER, PARMTYPE_STRING, 1L, 256L, "server", "%s", ""
75}
76
77RCDATA (DLG_ID + 2)
78{
79 ENT_SHARE, PARMTYPE_STRING, 1L, 256L, "share", "%s", ""
80}
81
82RCDATA (DLG_ID + 3)
83{
84 ENT_USER, PARMTYPE_STRING, 1L, 256L, "user", "%s", "guest"
85}
86
87RCDATA (DLG_ID + 4)
88{
89 ENT_PASS, PARMTYPE_STRING, 1L, 256L, "password", "%s", ""
90}
91
92RCDATA (DLG_ID + 5)
93{
94 ENT_MASTER, PARMTYPE_STRING, 1L, 256L, "master", "%s", "WORKGROUP"
95}
96
97RCDATA (DLG_ID + 6)
98{
99 CMB_MASTER, PARMTYPE_INT, 0L, 1L, "mastertype", "%d", 1L,
100 "server",
101 "workgroup"
102}
103
104RCDATA (DLG_ID + 7)
105{
106 CHK_EASUPPORT, PARMTYPE_INT, 0L, 1L, "easupport", "%d", 1L,
107 "0",
108 "1"
109}
110
111RCDATA (DLG_ID + 8)
112{
113 ENT_SPASS, PARMTYPE_STRING, 1L, 255L, "spassword", "%s", ""
114}
115
116RCDATA (DLG_ID + 9)
117{
118 SPIN_CACHETIMEOUT, PARMTYPE_INT, 10L, 600L, "cto", "%d", 10L
119}
120
121RCDATA (DLG_ID + 10)
122{
123 SPIN_CACHEDEPTH, PARMTYPE_INT, 32L, 80L, "cld", "%d", 32L,
124}
125
126RCDATA (DLG_ID + 11)
127{
128 1
129}
130
Note: See TracBrowser for help on using the repository browser.