Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »


 
Sets the current EDMserver available for other users (clients). This function is normally used to set an EDMserver available for new clients after the database has been set unavailable by the edmiSetUnavailable function.
This function is protected, i.e. only legal for the EDMuser superuser.
Related function: edmiSetUnavailable .
Header:
#include "sdai.h"
Prototype:
EdmiError edmiSetAvailable(void);
Arguments:
None.
Returns:
A completion code of datatype EdmiError is the returned function value. The completion code has the following values:
Completion code = 0 : Operation successfully performed.
Completion code != 0: Error in operation. Completion code is an EDMinterface error code. Use edmiGetErrorText to get the error text corresponding to the error code.
EXAMPLE
EdmiError rstat;
. . .
if (rstat = edmiSetAvailable()) {
/* Error in operation */ 
printf("\nError: %s in edmiSetAvailable\n", 
edmiGetErrorText(rstat)); 
goto error; 
}
/* EDMserver is available */
. . .

  • No labels