AR System® C API "How To" Series of Documents

From ARSWiki

Jump to: navigation, search

Contents

Common Uses of the Remedy C API

The most commom types of software developed using the Remedy api can be broken down into the following categories:

Wrappers

The C api is the base api released by Remedy for api development with the ARSystem Server. All other programming api's available for integration with Remedy are wrappers for the C api. The languages available as wrappers for the c api, at the time this article was written, include:

  • Java
  • PHP
  • Perl
  • .Net
  • VB
  • C++

Remedy Plugins

Remedy provides a plugin server, available with any ARSystem Server. Plugins can be developed to do any number of tasks. There are two types of plugins that are specialized, however.

AREA

ARDBC

Compiled Plugins Provided by BMC

This section is intended to provide a series of 'examples' of how the plugin server can be used, as demonstrated by BMC/Remedy. These are some other programs provided as plugins by BMC:

  • Approval Server (starting with version 7)
  • AREA Plugin for LDAP Servers
  • ARDBC Plugin for LDAP Servers

Command Line Utilities

Command Line Utilities Provided by /BMC/Remedy

  • archgid
  • arsignal
  • runmacro
  • arcache
  • arreload

Daemons

Daemon's are long running background processes that exhibit a series of defining characterisics.

Characteristics

The initialization process of a daemon follows:

  1. Forki The Parent Process
  2. Change The File Mode Mask (Umask)
  3. Open Logs For Writing
  4. Create a Unique Session ID (SID)
  5. Change The Working Directory
  6. Close Standard File Descriptors

Detailed information on a daemon program structure can be found at the following sources:

Compiled Daemons Provided by BMC

  • Approval Server (up to version 7)
  • Plugin Server
  • ARServer
  • ARMonitor

Structure of a C Program

Standalone

Daemon

External References

Personal tools