Introduction   User API Reference   DSMlib Reference   IDL Interface   File List   Index  

Iterate Dataspace List
[Dataspace Manager Server Support Library]


Defines

#define dsmlib_next_ds(ds)   ((ds)->ds_next)
#define dsmlib_prev_ds(ds)   ((ds)->ds_prev)

Typedefs

typedef void(* dsmlib_iterator_fn_t )(dsmlib_ds_desc_t *ds, void *data)

Functions

L4_CV dsmlib_ds_desc_tdsmlib_get_dataspace_list (void)
 Return dataspace list head.
L4_CV void dsmlib_dataspaces_iterate (dsmlib_iterator_fn_t fn, void *data)
 Iterate dataspace list.

Define Documentation

#define dsmlib_next_ds ( ds   )     ((ds)->ds_next)

Next dataspace in dataspace list

Definition at line 79 of file dsmlib.h.

#define dsmlib_prev_ds ( ds   )     ((ds)->ds_prev)

Previous dataspace in dataspace list

Definition at line 85 of file dsmlib.h.


Typedef Documentation

typedef void(* dsmlib_iterator_fn_t)(dsmlib_ds_desc_t *ds, void *data)

Dataspace list iterator function type

Definition at line 67 of file dsmlib.h.


Function Documentation

L4_CV dsmlib_ds_desc_t* dsmlib_get_dataspace_list ( void   ) 

Return dataspace list head.

Returns:
Pointer to dataspace list, NULL if list empty.

L4_CV void dsmlib_dataspaces_iterate ( dsmlib_iterator_fn_t  fn,
void *  data 
)

Iterate dataspace list.

Parameters:
fn Iterator function
data Iterator function data


DMphys Reference Manual, written by Lars Reuther  © 2000-2003