Adic Server Uživatelský manuál Strana 161

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 218
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 160
aci_snmp 4-119
21 Dec 2001
Figure 4-109 Example of the aci_shutdown Function
aci_snmp
The aci_snmp function sends SNMP messages. See
Figure 4-110.
Figure 4-110 aci_snmp Function Call
See Table 4-49.
Only supported by the Scalar DLC software.
Return Values
0: The call was successful.
-1: The call failed.
Table 4-49 Parameter for the aci_snmp Function Call
Parameter Description
Msg defines the SNMP message
/* Shut down DAS operation */
int rc;
char *now = NULL;
if ((rc = aci_shutdown(now)))
{
aci_perror("Shut down failed:");
}
else
{
printf("Shut down successful.\n");
}
#include "aci.h"
int aci_snmp (char *Msg)
Zobrazit stránku 160
1 2 ... 156 157 158 159 160 161 162 163 164 165 166 ... 217 218

Komentáře k této Příručce

Žádné komentáře