Thread: 5.2.14
View Single Post
Old 11-03-2003, 08:06 AM  
darkone
Disabled
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default 5.2.14

All:
- New: Tcl commands
- Change: Unregistered version will not initialize properly, if executable has been renamed

TCL:

USER
CREATE <UserName>
- Returns >= 0 on success (user id)
DELETE <UserName>
- Returns 0 on success
RENAME <UserName> <NewUserName>
- Returns 0 on success

GROUP
CREATE <GroupName>
- Returns >= 0 on success (group id)
DELETE <GroupName>
- Returns 0 on success
RENAME <GroupName> <NewGroupName>
- Returns 0 on success

USERFILE
OPEN <UserName>
- Returns 0 on success
LOCK
- Returns 0 on success
UNLOCK
- Returns 0 on success
ASCII2BIN <String>
- Retruns 0 on success, string contains userfile in ascii format (userfile must be locked, or command will fail!)
BIN2ASCII
- Returns userfile in ascii format on success
RELOAD
- Updates cache
ISOPEN
- Returns user id of currently open userfile

GROUPFILE
OPEN <GroupName>
- Returns 0 on success
LOCK
- Returns 0 on success
UNLOCK
- Returns 0 on success
ASCII2BIN <String>
- Retruns 0 on success, string contains groupfile in ascii format (groupfile must be locked, or command will fail!)
BIN2ASCII
- Returns groupfile in ascii format on success
ISOPEN
- Returns group id of currently open groupfile

TIMER <TimeOut> <Event>
- Returns 0 on success, event uses same format as events in ini (TCL ../scripts/timerproc.itcl)

SHA1 <String>
- Returns sha1 hash for string on success

MOUNTFILE
OPEN <FileName>
- Returns 0 on success

CLIENT
WHO INIT <arg1> ... <argN>
* Valid arguments are: REALPATH, REALDATAPATH, VIRTUALPATH, VIRTUALDATAPATH, TRANSFERSPEED, TRANSFERSIZE, STATUS, LOGINTIME, TIMEIDLE, HOSTNAME, IDENT, IP, UID, CID
- Returns 0 on success
WHO FETCH
- On success returns list of selected items, in selected order (use lindex to extract)
darkone is offline   Reply With Quote