Changeset 396 for branches/client-1.5/src
- Timestamp:
- Jan 28, 2010, 6:52:33 PM (16 years ago)
- Location:
- branches/client-1.5/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/client-1.5/src/ndpsmb.c
r395 r396 207 207 {ND_PROP_STRING, 0, "MASTER", "WORKGROUP"}, 208 208 { ND_PROP_ULONG, 0, "MASTERTYPE", "1"}, 209 {ND_PROP_STRING, 0, "LOGFILE", ""},209 // {ND_PROP_STRING, 0, "LOGFILE", ""}, 210 210 { ND_PROP_ULONG, 0, "LOGLEVEL", "0"}, 211 211 { ND_PROP_ULONG, 0, "EASUPPORT", "1"}, … … 388 388 389 389 pRes->rootlevel = 0; 390 *pRes->logfile = 0;390 // *pRes->logfile = 0; 391 391 pRes->loglevel = 0; 392 392 pRes->easupport = 1; … … 474 474 475 475 t = 0, q = NULL; 476 rc = ph->fsphQueryStringProperty (properties, "LOGFILE", &q, &t);476 /* rc = ph->fsphQueryStringProperty (properties, "LOGFILE", &q, &t); 477 477 if (!rc && t && *q) 478 478 { 479 479 StrNCpy(pRes->logfile, q, sizeof(pRes->logfile) - 1); 480 480 } 481 481 */ 482 482 t = 0; 483 483 rc = ph->fsphQueryUlongProperty (properties, "LOGLEVEL", &t); -
branches/client-1.5/src/rc/rc.dlg
r395 r396 30 30 WS_VISIBLE 31 31 ENTRYFIELD "", ENT_MASTER, 147, 33, 90, 8, ES_MARGIN 32 LTEXT "Logfile:", LBL_LOGFILE, 251, 124, 11, 10, DT_BOTTOM |33 NOT WS_VISIBLE34 ENTRYFIELD "", ENT_LOGFILE, 254, 112, 7, 8, ES_MARGIN | NOT35 WS_VISIBLE36 LTEXT "Loglevel:", LBL_LOGLEVEL, 251, 131, 13, 10,37 DT_BOTTOM | NOT WS_VISIBLE38 SPINBUTTON CMB_LOGLEVEL, 252, 12, 8, 35, SPBS_NUMERICONLY |39 SPBS_MASTER | SPBS_JUSTRIGHT | WS_GROUP | NOT40 WS_VISIBLE41 32 LTEXT "Supports EA", LBL_EASUPPORT, 195, 104, 52, 10, 42 33 DT_WORDBREAK -
branches/client-1.5/src/rc/rc.h
r395 r396 16 16 #define CMB_MASTER 1013 17 17 #define LBL_PROP 1016 18 #define LBL_LOGFILE 101719 #define ENT_LOGFILE 101820 #define LBL_LOGLEVEL 101921 #define CMB_LOGLEVEL 102022 18 #define LBL_EASUPPORT 1021 23 19 #define CHK_EASUPPORT 1022 -
branches/client-1.5/src/rc/rc.rc
r395 r396 34 34 "Help for command line utility:\r\n" 35 35 "\r\n" 36 "nd mount smbfs s:\\mountpoint ;workgroup=...;server=...;share=...;user=...;password=...;master=...;mastertype=...; memlen=...;logfile=...;loglevel=...;easupport=...\r\n"36 "nd mount smbfs s:\\mountpoint ;workgroup=...;server=...;share=...;user=...;password=...;master=...;mastertype=...;easupport=...\r\n" 37 37 "\r\n" 38 38 " workgroup - name of workgroup\r\n" … … 43 43 " master - name of master server or master workgroup\r\n" 44 44 " mastertype - 0 if 'master' is the name of master server, 1 if 'master' is the name of master workgroup\r\n" 45 " logfile - file to log records from smbcd.exe. Used only if smbcd.exe is run by ndpsmb.dll plugin, not manually\r\n"46 " loglevel - level of logging (0-9) for smbcd.exe. Used only if smbcd.exe is run by ndpsmb.dll plugin, not manually\r\n"47 45 " easupport - 0 to not support EA, 1 to support\r\n" 48 46 "\r\n" … … 102 100 RCDATA (DLG_ID + 7) 103 101 { 104 ENT_LOGFILE, PARMTYPE_STRING, 1L, 256L, "logfile", "%s", ""105 }106 107 RCDATA (DLG_ID + 8)108 {109 CMB_LOGLEVEL, PARMTYPE_INT, 0L, 9L, "loglevel", "%d", 0L,110 "0",111 "1",112 "2",113 "3",114 "4",115 "5",116 "6",117 "7",118 "8",119 "9"120 }121 122 RCDATA (DLG_ID + 9)123 {124 102 CHK_EASUPPORT, PARMTYPE_INT, 0L, 1L, "easupport", "%d", 1L, 125 103 "0", … … 127 105 } 128 106 129 RCDATA (DLG_ID + 10)107 RCDATA (DLG_ID + 8) 130 108 { 131 109 ENT_SPASS, PARMTYPE_STRING, 1L, 255L, "spassword", "%s", "" 132 110 } 133 111 134 RCDATA (DLG_ID + 11)112 RCDATA (DLG_ID + 9) 135 113 { 136 114 1
Note:
See TracChangeset
for help on using the changeset viewer.