In https://svn.open-mpi.org/trac/ompi/wiki/CodingStyle , there is
mention of "the prefix rule." What is this rule?
Let me ask specifically this. If I look at
, I see a declaration for "void btl_sm_add_pending". Should that really
have an "mca_" appended to the name? Don't worry about the
particulars. I'm about to change this code. I'm just asking about the
principles. Because this function is callable from a file other than
where it is defined, should the prefix be "mca_btl_sm_" or does
Similarly, I see a btl_sm_pending_send_item_t type. Should that also
have mca_ appended?
Ouch, and this one: sm_fifo_t. (This one is my fault.) I assume it
should be mca_btl_sm_fifo_t, yes?
P.S. Shouldn't the "prefix rule" be explained in the "coding style"