Commit 62f80fe0 authored by Josh Kunz's avatar Josh Kunz

Adds a comment for cn_membrane_grant_single

parent 19b3c971
......@@ -820,6 +820,17 @@ fail:
return -1;
/* This function performs a single grant from the perspective of the
* given membrane `membrane`. `send_type` is the type of the sending
* membrane, and `recv_type` is the type of the recving membrane.
* If the send type and the recv type do not match, then the resulting
* capability will have an annotation added or removed depending on the
* current annotation state of the capability. If the capbility being
* granted already has an annotation that *matches* the recving side,
* the annotation will be removed. If it has no annotations that match the
* recving side, an annotation of the *sending* side will be added.
static int cn_membrane_grant_single(cn_membrane_t * membrane,
enum cn_membrane_type send_type,
enum cn_membrane_type recv_type,
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment