/usr/include/ossim/plugin/ossimSharedObjectBridge.h is in libossim-dev 2.2.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | //*******************************************************************
//
// License: See top level LICENSE.txt file.
//
// Author: Garrett Potts (gpotts@imagelinks)
//
//*************************************************************************
// $Id: ossimSharedObjectBridge.h 18967 2011-02-25 19:40:48Z gpotts $
#ifndef ossimSharedObjectBridge_HEADER
#define ossimSharedObjectBridge_HEADER
#include <vector>
#include <ossim/base/ossimObject.h>
#include <ossim/base/ossimConstants.h>
#include <ossim/base/ossimString.h>
extern "C"
{
typedef const char* (*ossimSharedLibraryGetDescriptionPtr)();
typedef int (*ossimSharedLibraryGetNumberOfClassNamesPtr)();
typedef const char* (*ossimSharedLibraryGetClassNamesPtr)(int idx);
typedef const char* (*ossimSharedLibraryGetIdPtr())();
typedef const char* (*ossimSharedLibraryGetOssimVersionStringPtr())();
typedef void (*ossimSharedLibraryRegisterPluginPtr())();
struct OSSIMDLLEXPORT ossimSharedObjectInfo
{
ossimSharedLibraryGetDescriptionPtr getDescription;
ossimSharedLibraryGetNumberOfClassNamesPtr getNumberOfClassNames;
ossimSharedLibraryGetClassNamesPtr getClassName;
/* ossimSharedLibraryGetId getId; */
/* ossimSharedLibraryGetOssimVersionString getOssimVersion; */
/* ossimSharedLibraryRegisterPluginPtr registerPlugin; */
};
typedef void (*ossimSharedLibraryInitializePtr)(ossimSharedObjectInfo** info, const char* options);
typedef void (*ossimSharedLibraryFinalizePtr)();
/*
* these need to define these in your plugin. They are only here for clairity
*
* extern void ossimSharedLibraryInitialize(ossimSharedObjectInfo** info);
* extern void ossimSharedLibraryFinalize();
*/
}
#endif
|