Specifications

The Source Control Integration API 351
Arguments
void **connectionData, const char siteName[64]
connectionData is a handle to the data that the agent wants Dreamweaver to pass to it when
calling other API functions.
siteName is a string that points to the name of the site. The site name can be a maximum of
64 characters.
Returns
true if successful; false otherwise.
bool SCS_Disconnect()
Description
Disconnects the user from the source control system.
Arguments
void *connectionData
connectionData
is a pointer to the agents data that passed into Dreamweaver during the
Connect() call.
Returns
true if successful; false otherwise.
bool SCS_IsConnected()
Description
Determines the state of the connection.
Arguments
void *connectionData
connectionData
is a pointer to the agents data that passed into Dreamweaver during the
Connect() call.
Returns
true if connected; false otherwise.
int SCS_GetRootFolderLength()
Description
Returns the length of the name of the root folder.
Arguments
void *connectionData
connectionData is a pointer to the agents data that was passed into Dreamweaver during the
Connect() call.
Returns
An integer that indicates the length of the name of the root folder. If the function returns < 0,
Dreamweaver considers it an error and tries to retrieve the error message from the DLL, if
supported.