Panopticon 25.2
Panopticon C Programming Guide

# KVPanopticonGetInterface()

This function is exported by the `panopticon` shared library. It supplies function pointers to the other Panopticon functions. When you call `KVPanopticonGetInterface()`, it assigns the function pointers to the structure pointed to by `panopticonInterface`.

## Syntax

    KVPanopticonError KVPanopticonGetInterface(KVPanopticonInterface* const panopticonInterface);

## Arguments

`panopticonInterface` | A pointer to the structure KVPanopticonInterface. You must initialize the KVStructHead structure by using the macro `KVStructInit`. This process sets the version number of the Panopticon API, and supports binary compatibility with future releases.

## Returns

If the function was successful, it returns `KVP_Success`. Otherwise, it returns a KVPanopticonError value describing the problem.

## Discussion

When you load this function from the Panopticon shared library, you can use the `typedef KV_PANOPTICON_GET_INTERFACE`, which is provided in `panopticon.h`.

Copyright 2020-2025 Open Text
Version 25.2 | Last updated April 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction Panopticon 25.2

Topic Title: KVPanopticonGetInterface()