Aci_Register - ADIC Server User Manual

Adic server user manual
Table of Contents

Advertisement

/* Modify existing client configuration */
int rc =0;
char *client = "SomeClient";
char * ipname = "CLIENT1";
enum aci_command action;
short avc;
short c;
short dism;
int i, j;
struct aci_client_entry client_entry;
rc = aci_clientstatus (client, &client_entry);
if ( !rc )
{
rc=aci_register(client,ipname,action,avc,c,dism);
}
Figure 4-95
21 Dec 2001
action = ACI_MODIFY;
avc = client_entry.avc;
dism= client_entry.dismount;
c = FALSE;
if( rc )
aci_perror("Command failed: ");
else
printf ("Client %s updated.\n", client);
Example of the aci_register Function

aci_register

4-105

Advertisement

Table of Contents
loading

Table of Contents