Windows:
int ACSConnect(const char * hostname, const HWND
hWnd);
Unix/Linux:
int ACSConnect(const char * hostname);
These return the IP Address of DscACS (via asynchronous
response ACSAPI_RT_CONNECT), used for later threaded uploads of waves and phone
lists. The return code is an integer
representing the context of the connection, used in subsequent calls (Windows),
or a success return code. For all routines
below, add a preceding argument of “const int context” on all calls from a Windows
application - for example:
Windows (AcsApi32.dll): int ACSLMGRStart(const int context,
const
char * _campaign);
Unix (acsapi.so): int ACSLMGRStart(const char * _campaign);
(The only exception to this is ACSDecode(),
as it does not communicate with the DscACS service.)
void ACSDisconnect();
int ACSDecode(const char * message, void *
structure);
int ACSPing();
int ACSPong();
int ACSMessage(char * message);