
90
DREAMWEAVER API REFERENCE
The source control integration API
Last updated 8/27/2013
• The remotePath argument is the path of the remote folder that the DLL checks for the number of items.
• The itemList argument is a preallocated list of itemInfo structures:
• The numItems argument is the number of items that are allocated for the itemList (returned from
GetFolderListLength).
Returns
A Boolean value: true if successful; false otherwise.
bool SCS_Get()
Description
This function gets a list of files or folders and stores them locally.
Arguments
void *connectionData, const char *remotePathList[], const char *localPathList[], const int numItems
•
The connectionData argument is a pointer to the agent’s data that passed into Dreamweaver during the
Connect()
call.
• The remotePathList argument is a list of the remote files or folders to retrieve, which is specified as complete paths
and names.
• The localPathList argument is a mirrored list of local filenames or folder paths.
• The numItems argument is the number of items in each list.
Returns
A Boolean value: true if successful; false otherwise.
bool SCS_Put()
Description
This function puts a list of local files or folders into the source control system.
name char[256] Name of file or folder
isFolder
bool true if folder; false if file
month
int Month component of modification date 1-12
day
int Day component of modification date 1-31
year
int Year component of modification date 1900+
hour
int Hour component of modification date 0-23
minutes
int Minute component of modification date 0-59
seconds
int Second component of modification date 0-59
type
char[256] Type of file (if not set by DLL, Dreamweaver uses file extensions to determine type,
as it does now)
size
int In bytes
Commenti su questo manuale