home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
pascal
/
library
/
dos
/
netz
/
netware
/
nwsynch.doc
< prev
next >
Wrap
Text File
|
1992-01-28
|
6KB
|
127 lines
SYNCHRONIZATION SERVICES
========================
ClearFile (FileName : PathNameType) : WORD;
Unlocks the specified file and removes it from the log table of the
requesting workstation.
--------------------------------------------------------------------------------
ClearFileSet
Unlocks and removes all files in the log table of the requesting workstation.
--------------------------------------------------------------------------------
ClearLogicalRecord (LogicalRecordName : LogicalRecordNameType) : WORD;
Unlocks a logical records and removes them from the log table of the
requesting workstation.
--------------------------------------------------------------------------------
ClearLogicalRecordSet
Unlocks all logical records in the log table of the requesting workstation
and removes them from the log table.
--------------------------------------------------------------------------------
ClearPhysicalRecord (FileHandle : WORD; RecordOffset,
RecordLength : LONGINT) : WORD;
Unlocks a Physical record and removes them from the log table of the
requesting workstation.
--------------------------------------------------------------------------------
ClearPhysicalRecordSet
Unlocks all physical records in the log table of the requesting workstation
and removes them from the log table.
--------------------------------------------------------------------------------
CloseSemaphore (SemaphoreHandle : LONGINT) : WORD;
Closes a semaphore.
--------------------------------------------------------------------------------
ExamineSemaphore (SemaphoreHandle : LONGINT; VAR SemaphoreValue : WORD;
VAR OpenCount : WORD) : WORD;
Returns the current value and open count for a semaphore.
--------------------------------------------------------------------------------
GetLockMode : WORD;
Returns the current lock mode.
--------------------------------------------------------------------------------
LockFileSet (TimeOut : WORD) : WORD;
Attempts to lock all files in the log table of the requesting workstation.
--------------------------------------------------------------------------------
LockLogicalRecordSet (LockDirective : BYTE; TimeOut : WORD) : WORD;
Attempts to lock all logical records in the log table of the requesting
workstation.
--------------------------------------------------------------------------------
LockPhysicalRecordSet (LockDirective : BYTE; TimeOut : WORD) : WORD;
Attempts to lock all Physical records in the log table of the requesting
workstation.
--------------------------------------------------------------------------------
LogFile (FileName : PathNameType; LockDirective : BYTE; TimeOut : WORD) : WORD;
Logs a file into the log table of the requesting workstation and,
optionally, locks the file.
--------------------------------------------------------------------------------
LogLogicalRecord (LogicalRecordName : LogicalRecordNameType;
LockDirective : BYTE; TimeOut : WORD) : WORD;
Logs a logical record string into the log table of the requesting workstation
and, optionally, locks the record.
--------------------------------------------------------------------------------
LogPhysicalRecord (FileHandle : WORD; RecordOffset, RecordLength : LONGINT;
LockDirective : BYTE; TimeOut : WORD) : WORD;
Logs a physical record into the log table of the requesting workstation
and, optionally, locks the record.
--------------------------------------------------------------------------------
OpenSemaphore (SemaphoreName : SemaphoreNameType; InitialValue : WORD;
VAR SemaphoreHandle : LONGINT; VAR OpenCount : WORD) : WORD;
Opens the specified semaphore or creates it if it does not exist.
--------------------------------------------------------------------------------
ReleaseFile (FileName : PathNameType) : WORD;
Unlocks the specified file in the log table of the requesting workstation but
does not delete the file.
--------------------------------------------------------------------------------
ReleaseFileSet
Unlocks all files currently locked in the log table of the requesting
workstation but does not delete them from the table.
--------------------------------------------------------------------------------
ReleaseLogicalRecord (LogicalRecordName : LogicalRecordNameType) : WORD;
Unlocks a logical record in the log table of the requesting workstation but
does not remove the record from the table.
--------------------------------------------------------------------------------
ReleaseLogicalRecordSet
Unlocks all logical records currently locked in the log table of the
requesting workstation but does not remove them from the log table.
--------------------------------------------------------------------------------
ReleasePhysicalRecord (FileHandle : WORD; RecordOffset,
RecordLength : LONGINT) : WORD;
Unlocks a physical record in the log table of the requesting workstation but
does not remove the record from the table.
--------------------------------------------------------------------------------
ReleasePhysicallRecordSet
Unlocks all physical records currently locked in the log table of the
requesting workstation but does not remove them from the log table.
--------------------------------------------------------------------------------
SetLockMode (LockMode : BYTE) : WORD;
Sets the lock mode.
--------------------------------------------------------------------------------
SignalSemaphore (SemaphoreHandle : LONGINT) : WORD;
Increments the value of a semaphore.
--------------------------------------------------------------------------------
WaitOnSemaphore (SemaphoreHandle : LONGINT; TimeOut : WORD) : WORD;
Decrements the value of a semaphore.
------------------------------------------------------------------------------