| Motr
    M0
    | 

Go to the source code of this file.
| Macros | |
| #define | __MOTR_CONSOLE_MESG_H__ | 
| Functions | |
| M0_INTERNAL void | m0_cons_fop_name_print (const struct m0_fop_type *ftype) | 
| M0_INTERNAL int | m0_cons_fop_send (struct m0_fop *fop, struct m0_rpc_session *session, m0_time_t resend_interval, uint64_t nr_sent_max) | 
| Builds and send FOP using rpc_post and waits for reply.  More... | |
| M0_INTERNAL int | m0_cons_fop_show (struct m0_fop_type *fopt) | 
| Iterate over FOP fields and print names.  More... | |
| M0_INTERNAL void | m0_cons_fop_list_show (void) | 
| Helper function to print list of FOPs.  More... | |
| #define __MOTR_CONSOLE_MESG_H__ | 
Definition at line 26 of file console_mesg.h.
| M0_INTERNAL void m0_cons_fop_list_show | ( | void | ) | 
Helper function to print list of FOPs.
Definition at line 88 of file console_mesg.c.


| M0_INTERNAL void m0_cons_fop_name_print | ( | const struct m0_fop_type * | ftype | ) | 
Prints name and opcode of FOP. It can be used to print more info if required.
Definition at line 34 of file console_mesg.c.

| M0_INTERNAL int m0_cons_fop_send | ( | struct m0_fop * | fop, | 
| struct m0_rpc_session * | session, | ||
| m0_time_t | resend_interval, | ||
| uint64_t | nr_sent_max | ||
| ) | 
Builds and send FOP using rpc_post and waits for reply.
| fop | FOP to be send. | 
| session | RPC connection session. | 
| resend_interval | |
| nr_sent_max | Attempt to send fop at most nr_sent_max number of times after each resend_interval; timeout fop if reply is not received after nr_sent_max attempts. | 
Definition at line 39 of file console_mesg.c.

| M0_INTERNAL int m0_cons_fop_show | ( | struct m0_fop_type * | fopt | ) | 
Iterate over FOP fields and print names.
Definition at line 68 of file console_mesg.c.

