RTEMS  5.1
Data Structures | Typedefs | Functions
media.c File Reference

Media implementation. More...

#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <unistd.h>
#include <rtems/media.h>
#include <rtems.h>
#include <rtems/bdbuf.h>
#include <rtems/blkdev.h>
#include <rtems/bdpart.h>
#include <rtems/libio.h>
#include <rtems/dosfs.h>
#include <rtems/thread.h>

Data Structures

struct  partition_table
 
struct  partition
 
struct  media_item
 
struct  listener_item
 

Typedefs

typedef struct media_item media_item
 
typedef struct listener_item listener_item
 

Functions

rtems_status_code rtems_media_listener_add (rtems_media_listener listener, void *listener_arg)
 Adds the listener with argument listener_arg. More...
 
rtems_status_code rtems_media_listener_remove (rtems_media_listener listener, void *listener_arg)
 Removes the listener with argument listener_arg. More...
 
rtems_status_code rtems_media_post_event (rtems_media_event event, const char *src, char **dest_ptr, rtems_media_worker worker, void *worker_arg)
 Posts the event with source src. More...
 

Detailed Description

Media implementation.