X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=afs.h;h=9a1d7d9ca0f130c4590f55c23abc181b632c6483;hb=2b838f7e906422c84f9fce013743eaf7299b2c02;hp=59c887a098d42bca85ee377d94a05b36fbb20e62;hpb=0b5c29fae8853bac16b91503df70b0e101dccca4;p=paraslash.git diff --git a/afs.h b/afs.h index 59c887a0..9a1d7d9c 100644 --- a/afs.h +++ b/afs.h @@ -169,6 +169,8 @@ struct afs_callback_arg { }; /** + * The "top half" of an afs command. + * * Afs command handlers run as a process which is not related to the afs * process, i.e. they can not change the address space of afs directly. * Therefore afs commands typically consist of two functions: The command @@ -179,9 +181,13 @@ struct afs_callback_arg { typedef int afs_callback(struct afs_callback_arg *aca); /** + * Dispatch the output of an afs callback. + * * Some AFS callbacks need to send data back to the command handler. Pointers * to this type of function are passed to \ref send_callback_request() and - * related functions to dispatch the data in the command handler process. + * related functions to dispatch the data in the command handler process. Most + * (but not all) afs commands pass \ref afs_cb_result_handler(), which sends + * the output of the callback to the connected client. */ typedef int callback_result_handler(struct osl_object *result, uint8_t band, void *private); int afs_cb_result_handler(struct osl_object *result, uint8_t band, void *private);