1 
   2 
   3 
   4 
   5 
   6 
   7 
   8 
   9 
  10 
  11 
  12 
  13 
  14 
  15 
  16 
  17 
  18 
  19 
  20 #ifndef _MCA_PML_BASE_BSEND_H_
  21 #define _MCA_PML_BASE_BSEND_H_
  22 
  23 #include "ompi_config.h"
  24 #include "ompi/request/request.h"
  25 
  26 BEGIN_C_DECLS
  27 
  28 OMPI_DECLSPEC int mca_pml_base_bsend_init(bool enable_mpi_threads);
  29 OMPI_DECLSPEC int mca_pml_base_bsend_fini(void);
  30 
  31 int mca_pml_base_bsend_attach(void* addr, int size);
  32 int mca_pml_base_bsend_detach(void* addr, int* size);
  33 
  34 OMPI_DECLSPEC int mca_pml_base_bsend_request_alloc(ompi_request_t*);
  35 OMPI_DECLSPEC int mca_pml_base_bsend_request_start(ompi_request_t*);
  36 OMPI_DECLSPEC int mca_pml_base_bsend_request_fini(ompi_request_t*);
  37 OMPI_DECLSPEC void*  mca_pml_base_bsend_request_alloc_buf( size_t length );
  38 OMPI_DECLSPEC int mca_pml_base_bsend_request_free(void* addr);
  39 
  40 extern unsigned char   *mca_pml_bsend_userbase;   
  41 extern unsigned char   *mca_pml_bsend_base;       
  42 extern unsigned char   *mca_pml_bsend_addr;       
  43 
  44 END_C_DECLS
  45 
  46 #endif
  47