JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Remote Administration Daemon Developer Guide     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  Introduction

2.  Concepts

3.  Abstract Data Representation

4.  libadr

Data Management

adr_type_t Type

adr_data_t Type

Allocating adr_data_t Values

Allocating Strings

Allocating boolean

Allocating Numeric Types

Allocating Times

Allocating Opaques

Allocating Secrets

Allocating Names

Allocating Enumerations

Allocating Unions

Allocating Structures

Allocating Arrays

Accessing Simple adr_data_t Values

Manipulating Derived Type adr_data_t

Manipulating Array adr_data_t Values

Manipulating the Structure of a adr_data_t Type

Validating adr_data_t Values

ADR Object Name Operations

adr_name_t Type

Creating adr_name_t Type

Inspecting adr_name_t Type

String Representation

API Management

radadrgen-Generated Definitions

Running radadrgen

Example radadrgen output

5.  Client Libraries

6.  Module Development

7.  rad Best Practices

A.  rad Binary Protocol

API Management

libadr provides support for defining APIs in rad/adr_object.h. Defining an API is a complex task. The only supported way to define an API is to do so in the ADR IDL and to generate the definition using radadrgen.

The important type defined in rad/adr_object.h is type adr_object_t. While the constituent pieces of an API definition should be considered implementation details, the end product, the API itself, is of prime interest to the developer. You will never need to create or define an adr_object_t, but when you encounter routines that operate on them, understanding what the type represents is important.