Tivoli Header

Tivoli Storage Manager Using the Application Program Interface

UNIX Operating System

The files that are listed in Table 7 include the source files and other files that you need to build the sample application that is included with the API package.

Table 7. Files That You Need to Build the UNIX API Sample Application

File Names
Description
readme.api
Readme file
dsmrc.h
dsmapitd.h
dsmapips.h


dsmapifp.h
release.h


Return codes header file
Common type definitions header file
Operating system-specific type definitions header file
Function prototype header file
Release values header file
dapibkup.c
dapidata.h
dapiinit.c
dapint64.h
dapint64.c
dapipref.c
dapiproc.c
dapiproc.h
dapipw.c
dapiqry.c
dapirc.c
dapismp.c
dapitype.h
dapiutil.h
dapiutil.c
Modules for the command line-driven sample application
makeapi.xxx
Makefile to build dapismp for your operating system. The xxx indicates the operating system.
caller1.c
caller2.c

Simple example modules
callmt1.c
callmt2.c

Multi-threaded sample files
libApiDS.xx
Shared library (the suffix is platform-dependent)

For specific install and build instructions, see the README.API for your operating system and follow these steps:

  1. After you build the sample, set up your environment variables, including the DSMI_DIR, and your options files. For more information, see Understanding Configuration Files and Options Files and Tivoli Storage Manager Installing and Using the Backup-Archive Client for your operating system.
  2. Log on as root the first time for password registration.
  3. Run dapismp to start the sample application.

Continue with "Running the Sample Application".


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]