src/ccpp_ipd.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <dlfcn.h>
#include <err.h>
#include <sysexits.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "ccpp_ipd.h"
Detailed Description
Routines and functions for the IPD to call physics routines.
Function Documentation
int ccpp_ipd_cap |
( |
void ** |
f_ptr, |
|
|
void ** |
data | |
|
) |
| | |
IPD cap calling routine.
- Parameters:
-
[in] | f_ptr | The scheme function pointer to call. |
[in] | data | The opaque ccpp_t data type to pass. |
- Return values:
-
| 0 | If it was sucessful |
| 1 | If there was an error |
int ccpp_ipd_close |
( |
void ** |
lhdl |
) |
|
IPD library finialization routine.
- Parameters:
-
[in] | lhdl | The library handle. |
- Return values:
-
| 0 | If it was sucessful |
| 1 | If there was an error |
int ccpp_ipd_open |
( |
const char * |
scheme, |
|
|
const char * |
lib, |
|
|
const char * |
ver, |
|
|
void ** |
shdl, |
|
|
void ** |
lhdl | |
|
) |
| | |
IPD cap initialization routine.
- Parameters:
-
[in] | scheme | The scheme name to call. |
[in] | lib | The library continaing the physics scheme. |
[in] | ver | The library version number. |
[out] | shdl | The scheme function pointer handle. |
[out] | lhdl | The library handle. |
- Return values:
-
| 0 | If it was sucessful |
| 1 | If there was an error |