Changeset 1256:24bb686ce5e1 in roaraudio for include/libroar/vio_cmd.h


Ignore:
Timestamp:
02/27/09 02:27:22 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

wrote most of the vio_cmd_* code, there is still need to write the read() and write() calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/vio_cmd.h

    r1255 r1256  
    3838#include "libroar.h" 
    3939 
     40#define ROAR_VIO_CMD_OPTS_NONE      0x00 
     41#define ROAR_VIO_CMD_OPTS_NONBLOCK  0x01 
     42#define ROAR_VIO_CMD_OPTS_ON_DEMAND 0x02 
     43 
    4044struct roar_vio_cmd_child { 
    4145 int opened; 
     
    6367// possible VIOs: 
    6468 
     69// cmd: 
     70ssize_t roar_vio_cmd_read    (struct roar_vio_calls * vio, void *buf, size_t count); 
     71ssize_t roar_vio_cmd_write   (struct roar_vio_calls * vio, void *buf, size_t count); 
     72int     roar_vio_cmd_nonblock(struct roar_vio_calls * vio, int state); 
     73int     roar_vio_cmd_sync    (struct roar_vio_calls * vio); 
     74 
    6575/* 
    6676// basic 
Note: See TracChangeset for help on using the changeset viewer.