Compass Server 3.0 Developer's Guide

[Contents] [Previous] [Next] [Last]

PART 3
Using C to Send Requests to the Compass Server

This part of the document discusses how to use the C functions in the RDM SDK to do the following tasks:

The standard procedure for accessing information in the Compass Server database is to use the Compass Server End User page, as discussed in the Compass Server Administration Guide. However, you can use the Compass Server RDM SDK to access the database using C. First you create an RDM using the functions defined in rdm.h, then send it to the database by using the sendrdm program, and finally process the results using the functions defined in soif.h.

The Compass Server RDM SDK is shipped with the Compass Server. You can find it in compassdir/bin/compass/sdk/rdm.

What's In the RDM SDK?

The RDM SDK contains examples, bin, lib, and include directories.

The include directory contains the following header files:

The examples directory contains examples of the use of the routines in soif.h:

Chapter Summary

The chapters in this part of the document are:

Chapter 12. Using the SOIF API to Work with SOIF Objects

Overview of SOIF syntax, and a discussion of the structures and functions in soif.h that you can use to create, read, write, and modify SOIF objects.

Chapter 13. Using the RDM API To Accesss the Compass Server Database in C

Overview of resource description messages (RDMs), and a discussion of the structures and functions in rdm.h to create and process resource description messages to send to the Compass Server database.


[Contents] [Previous] [Next] [Last]

Last Updated: 02/07/98 20:49:17

Any sample code included above is provided for your use on an "AS IS" basis, under the Netscape License Agreement - Terms of Use