Previous Topic: Sm_PolicyApi_Server_tNext Topic: Sm_PolicyApi_User_t


Sm_PolicyApi_TrustedHost_t

Defines a trusted host object.

Syntax

typedef struct Sm_PolicyApi_TrustedHost_s
{
   int iStructId;
   char pszOid[BFSIZE];
   char pszName[BFSIZE];
   char pszDesc[BFSIZE];
   char pszIPAddr[BFSIZE];
   char pszSecret[BFSIZE];
   bool bIs4xHost;
   struct Sm_PolicyApi_TrustedHost_s* next;
   bool bRolloverEnabled;
} Sm_PolicyApi_TrustedHost_t;

Field

Description

iStructId

Data structure ID, defined in Sm_PolicyApi_Structs_t.

pszOid

The object identifier of the trusted host object.

pszName

The trusted host name.

pszDesc

Brief description of the trusted host.

pszIPAddr

The IP address of the trusted host.

pszSecret

The shared secret of the trusted host.

bIs4xHost

Internal use only.

next

Pointer to the next trusted host structure.

bRolloverEnabled

Indicates whether or not shared secret rollover is enabled for this trusted host.