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

Chapter 4

libadr

The library libadr provides structure definitions and subroutines essential to C programs using ADR. Code generated by radadrgen requires this library, and rad itself is based on it. libadr contains three major areas of functionality: data management, API management, and object name operations.

libadr is delivered in the system/management/rad package. C programs can link with it by specifying -ladr on the compile or link line.