modules.h File Reference

Generic module functions. More...

#include <async.h>
#include <ipc/services.h>
#include <sys/time.h>

Go to the source code of this file.

Typedefs

typedef int connect_module_t (services_t need)
 Connect to the needed module function type definition.

Functions

void answer_call (ipc_callid_t callid, int result, ipc_call_t *answer, size_t count)
 Answer a call.
int bind_service (services_t need, sysarg_t arg1, sysarg_t arg2, sysarg_t arg3, async_client_conn_t client_receiver)
 Create bidirectional connection with the needed module service and registers the message receiver.
int bind_service_timeout (services_t need, sysarg_t arg1, sysarg_t arg2, sysarg_t arg3, async_client_conn_t client_receiver, suseconds_t timeout)
 Create bidirectional connection with the needed module service and registers the message receiver.
int connect_to_service (services_t need)
 Connects to the needed module.
int connect_to_service_timeout (services_t need, suseconds_t timeout)
 Connects to the needed module.
int data_reply (void *data, size_t data_length)
 Replies the data to the other party.
void refresh_answer (ipc_call_t *answer, size_t *count)
 Refresh answer structure and argument count.


Detailed Description

Generic module functions.

Definition in file modules.h.


Generated on Thu Jun 2 07:45:50 2011 for HelenOS/USB by  doxygen 1.4.7