UNIX or Linux sample application source files

To build and run the sample UNIX or Linux® sample application, you need to ensure you have certain source files. Once you build the sample application you can compile and run it.

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

Table 1. Files that you need to build the UNIX or Linux API sample application
File names   Description
README_api_enu   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
makesmp[64].xxx   Makefile to build dapismp for your operating system. The xxx indicates the operating system.
callmt1.c
callmt2.c
  Multi-threaded sample files
callmtu1.c
callmtu2.c
  Multi-threaded Unicode sample files
libApiDS.xx
libApiDS64.xx, or
libApiTSM64.xx
  Shared library (the suffix is platform-dependent)
dsmgrp.c
callevnt.c
callhold.c
callret.c
callbuff.c
dpsthread.c
 
Grouping sample files
Event-based retention policy sample source code
Deletion hold sample source code
Data retention protection sample source code