Specifications
The Source Control Integration API 353
• itemList is a preallocated list of itemInfo structures:
• numItems is the number of items that are allocated for the itemList (returned from
GetFolderListLength).
Returns
true if successful; false otherwise.
bool SCS_Get()
Description
Gets a list of files or folders and stores them locally.
Arguments
void *connectionData, const char *remotePathList[], const char *localPathList[],
const int numItems
• connectionData is a pointer to the agent’s data that passed into Dreamweaver during the
Connect() call.
• remotePathList is a list of the remote files or folders to retrieve, which is specified as
complete paths and names.
• localPathList is a mirrored list of local file or folder path names.
• numItems is the number of items in each list.
Returns
true if successful; false otherwise.
bool SCS_Put()
Description
Puts a list of local files or folders into the source control system.
Arguments
void *connectionData, const char *localPathList[], const char *remotePathList[],
const int numItems
name char[256] name of file or folder
isFolder
bool true if folder, false if file
month int month component of mod date 1-12
day int day component of mod date 1-31
year int year component of mod date 1900+
hour int hour component of mod date 0-23
minutes int minute component of mod date 0-59
seconds int second component of mod date 0-59
type char[256] type of file (if not set by DLL, DW will use file extension to
determine type, as it does now)
size int in bytes