Rev 4714 | Rev 4731 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4714 | Rev 4722 | ||
---|---|---|---|
Line 91... | Line 91... | ||
91 | * @param answer The message processing answer structure. Input/output parameter. |
91 | * @param answer The message processing answer structure. Input/output parameter. |
92 | * @param answer_count The number of answer parameters. Input/output parameter. |
92 | * @param answer_count The number of answer parameters. Input/output parameter. |
93 | */ |
93 | */ |
94 | void refresh_answer( ipc_call_t * answer, int * answer_count ); |
94 | void refresh_answer( ipc_call_t * answer, int * answer_count ); |
95 | 95 | ||
- | 96 | /** Receives data from the other party. |
|
- | 97 | * The received data buffer is allocated and returned. |
|
- | 98 | * @param data The data buffer to be filled. Output parameter. |
|
- | 99 | * @param length The buffer length. Output parameter. |
|
- | 100 | * @returns EOK on success. |
|
- | 101 | * @returns EBADMEM if the data or the length parameter is NULL. |
|
- | 102 | * @returns EINVAL if the client does not send data. |
|
- | 103 | * @returns ENOMEM if there is not enough memory left. |
|
- | 104 | * @returns Other error codes as defined for the ipc_data_write_finalize() function. |
|
- | 105 | */ |
|
- | 106 | int data_receive( void ** data, size_t * length ); |
|
- | 107 | ||
- | 108 | /** Replies the data to the other party. |
|
- | 109 | * @param data The data buffer to be sent. Input parameter. |
|
- | 110 | * @param data_length The buffer length. Input parameter. |
|
- | 111 | * @returns EOK on success. |
|
- | 112 | * @returns EINVAL if the client does not expect all the data. |
|
- | 113 | * @returns Other error codes as defined for the ipc_data_read_finalize() function. |
|
- | 114 | */ |
|
- | 115 | int data_reply( void * data, size_t data_length ); |
|
- | 116 | ||
96 | #endif |
117 | #endif |
97 | 118 | ||
98 | /** @} |
119 | /** @} |
99 | */ |
120 | */ |