Mercury
Functions
na_bmi.h File Reference
#include "na.h"
#include <bmi.h>
Include dependency graph for na_bmi.h:

Go to the source code of this file.

Functions

NA_EXPORT na_class_tNA_BMI_Init (const char *method_list, const char *listen_addr, int flags)
 Initialize the BMI plugin. More...
 

Function Documentation

NA_EXPORT na_class_t* NA_BMI_Init ( const char *  method_list,
const char *  listen_addr,
int  flags 
)

Initialize the BMI plugin.

Parameters
method_list[IN] (Optional) list of available methods depend on BMI configuration, e.g., "bmi_tcp", ...
listen_addr[IN] (Optional) e.g., "tcp://127.0.0.1:22222"
flags[IN] (Optional) supported flags:
  • BMI_INIT_SERVER
  • BMI_TCP_BIND_SPECIFIC
  • BMI_AUTO_REF_COUNT
  • ... see BMI header file
Returns
Pointer to network class