modules.c File Reference

Generic module functions implementation. More...

#include <async.h>
#include <malloc.h>
#include <errno.h>
#include <sys/time.h>
#include <ipc/services.h>
#include <net/modules.h>

Go to the source code of this file.

Defines

#define MODULE_WAIT_TIME   (10 * 1000)
 The time between connect requests in microseconds.

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 implementation.

Definition in file modules.c.


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