User Guide
122 Chapter 10: The Source Control Integration API
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.
Arguments
void *connectionData
, const char *localPathList[], const char *remotePathList[],
const int numItems
• The connectionData argument is a pointer to the agent’s data that passed into Dreamweaver
during the
Connect() call.
• The localPathList argument is the list of local filenames or folder paths to put into the
source control system.
• The remotePathList argument is a mirrored list of remote 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_NewFolder()
Description
This function creates a new folder.
Arguments
void *connectionData
, const char *remotePath
• The connectionData argument is a pointer to the agent’s data that passed into Dreamweaver
during the
Connect() call.
000_DW_API_Print.book Page 122 Wednesday, August 20, 2003 9:14 AM