C data types


The AR System API uses simple C data types. The AR System data types are:


Data type

Description

typedef int ARLong32
or
typedef long ARLong32

32-bit signed integer for either 32-bit or 64-bit computers.
This data type is exactly 32 bits and replaces the long data type in the C API.

See the artypes.h file, which is available at:

  • Microsoft Windows - <Install directory>\Arserver\api\include
  • UNIX/Linux /opt/bmc/ARSystem/api/include

typedef unsigned int ARULong32
or
typedef unsigned long ARLong32

32-bit unsigned integer for either 32-bit or 64-bit computers.
This data type is exactly 32 bits and replaces the unsigned long data type in the C API.

See the artypes.h file.

typedef unsigned char ARBoolean

Boolean flag set to TRUE or FALSE.

typedef char ARAccessNameType[AR_MAX_ACCESS_NAME_SIZE +1 ]

Structure that holds a user or group name or password.

typedef char ARAuthType[AR_MAX_AUTH_SIZE + 1]

Structure that holds an authentication string.

typedef char AREntryIdType[AR_MAX_ENTRYID_SIZE + 1]

Structure that holds an entry identification value.

typedef ARLong32 ARInternalId

Structure that holds an internal identification value.

typedef char ARLocaleType[AR_MAX_LANG_SIZE + 1]

Locale; language-country

typedef char ARNameType[AR_MAX_NAME_SIZE + 1]

Structure that holds object names.

typedef char ARPasswordType[AR_MAX_PASSWORD_SIZE + 1]

Structure that holds a password.

typedef char ARServerNameType[AR_MAX_SERVER_SIZE + 1]

Structure that holds a server name.

typedef ARLong32 ARTimestamp

UNIX-style time stamp; seconds since January 1, 1970.

The legend in the following images applies to all data structure diagrams in this section:  

Legend for data structure diagrams 

221_DevAPI_DataStructureLegend.png 

Unless otherwise specified, see the ar.h file for complete structure and variable definitions.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*