[openib-general] RDMA CMA and C++

Dotan Barak dotanb at dev.mellanox.co.il
Thu Sep 7 08:13:21 PDT 2006


Tom Tucker wrote:
> Sean:
>
> The user-mode cm header files don't have the C++ stuff to identify all
> the declarations as C. The verbs.h file has it and works fine if you
> wanted to copy it, but all you really need is ...
>
> #ifdef __cpluplus
> extern "C" {
> #endif
>
> 		at the top and and, 
>
> #ifdef __cplusplus
> }
> #endif
>
> 		at the bottom of the file.
>
> Thanks,
> Tom
>   


Sean, please add those definitions to the libibcm header as well.

Dotan




More information about the general mailing list