nm_session_s Struct Reference
#include <nm_session_private.h>
Data Fields | |
| nm_session_hash_t | hash_code |
| hash of session label, used as ID on the wire | |
| const char * | label |
| plain text session name | |
| void * | p_sr_session |
| reference to be used by 'sendrecv' per-session state | |
| void(* | p_sr_destructor )(struct nm_session_s *) |
| function to call before session destroy | |
Detailed Description
Private state of a session object.
- Examples
- nm_launcher_mini.c, nm_rpc_hello.c, and nm_sr_custom_data.c.
Definition at line 23 of file nm_session_private.h.
Field Documentation
◆ hash_code
| nm_session_hash_t nm_session_s::hash_code |
hash of session label, used as ID on the wire
Definition at line 25 of file nm_session_private.h.
Referenced by nm_sr_recv_match(), nm_sr_send_dest(), nm_sr_send_issend(), and nm_sr_send_rsend().
◆ label
| const char* nm_session_s::label |
plain text session name
Definition at line 26 of file nm_session_private.h.
◆ p_sr_destructor
| void(* nm_session_s::p_sr_destructor) (struct nm_session_s *) |
function to call before session destroy
Definition at line 28 of file nm_session_private.h.
◆ p_sr_session
| void* nm_session_s::p_sr_session |
reference to be used by 'sendrecv' per-session state
Definition at line 27 of file nm_session_private.h.
The documentation for this struct was generated from the following file: