*/
extern uint32_t afs_socket_cookie;
-struct callback_data {
- /** The function to be called. */
- callback_function *handler;
- /** The sma for the parameters of the callback function. */
- int query_shmid;
- /** The size of the query sma. */
- size_t query_size;
- /** If the callback produced a result, it is stored in this sma. */
- int result_shmid;
- /** The size of the result sma. */
- size_t result_size;
- /** The return value of the callback function. */
- int callback_ret;
- /** The return value of the callback() procedure. */
- int sma_ret;
-};
-
/**
* Struct to let command handlers execute a callback in afs context.
*