convenience.c File Reference

Convinience functions for our poor users. More...

Go to the source code of this file.

Functions

int dsi_thread_start_worker (dsi_socket_t *socket, l4_umword_t *ret_code)
 Send start message to work thread and wait for ready-notification.

We start the work-thread and wait until it gives an ok..

int dsi_thread_worker_wait (dsi_socket_t **socket)
 Wait until our parent sends the socket.
int dsi_thread_worker_started (int ret_code)
 Send ready-notification to parent thread.
int dsi_socket_local_create (dsi_stream_cfg_t cfg, l4dm_dataspace_t *ctrl_ds, l4dm_dataspace_t *data_ds, l4_threadid_t work_id, l4_uint32_t flags, dsi_socket_t **socket, dsi_component_t *comp)
 Open-function for use with local sockets.
int dsi_socket_local_close (dsi_component_t *comp)
 Close-function for use with local socket refs

This callback can be used for the close-callback in a DSI component descriptor (dsi_component_t) if the socket is a socket in the local address space, and no other actions must be performed on connecting a socket than to call dsi_socket_close().

int dsi_socket_local_stop (dsi_component_t *comp)
 Stop-function for use with local socket refs

This callback can be used for the stop-callback in a DSI component descriptor (dsi_component_t) if the socket is a socket in the local address space, and no other actions must be performed on connecting a socket than to call dsi_socket_stop().

int dsi_socket_local_connect (dsi_component_t *comp, dsi_socket_ref_t *remote)
 Connect-function for use with local socket refs

This callback can be used for the connect-callback in a DSI component descriptor (dsi_component_t) if the socket is a socket in the local address space, and no other actions must be performed on connecting a socket than to call dsi_socket_connect().


Detailed Description

Convinience functions for our poor users.

Date:
05/15/2001
Author:
Jork Loeser <jork.loeser@inf.tu-dresden.de>

Definition in file convenience.c.


Generated on Wed Apr 11 06:40:13 2012 for DSI - Drops Streaming Interface by  doxygen 1.5.6