[BACK]Return to sndio.h CVS log [TXT][DIR] Up to [local] / src / include

Diff for /src/include/sndio.h between version 1.2 and 1.3

version 1.2, 2009/07/25 08:44:26 version 1.3, 2009/07/25 11:27:14
Line 131 
Line 131 
 int sio_enctostr(struct sio_par *, char *);  int sio_enctostr(struct sio_par *, char *);
 void sio_initpar(struct sio_par *);  void sio_initpar(struct sio_par *);
   
 struct sio_hdl *sio_open(char *, unsigned, int);  struct sio_hdl *sio_open(const char *, unsigned, int);
 void sio_close(struct sio_hdl *);  void sio_close(struct sio_hdl *);
 int sio_setpar(struct sio_hdl *, struct sio_par *);  int sio_setpar(struct sio_hdl *, struct sio_par *);
 int sio_getpar(struct sio_hdl *, struct sio_par *);  int sio_getpar(struct sio_hdl *, struct sio_par *);
 int sio_getcap(struct sio_hdl *, struct sio_cap *);  int sio_getcap(struct sio_hdl *, struct sio_cap *);
 void sio_onmove(struct sio_hdl *, void (*)(void *, int), void *);  void sio_onmove(struct sio_hdl *, void (*)(void *, int), void *);
 size_t sio_write(struct sio_hdl *, void *, size_t);  size_t sio_write(struct sio_hdl *, const void *, size_t);
 size_t sio_read(struct sio_hdl *, void *, size_t);  size_t sio_read(struct sio_hdl *, void *, size_t);
 int sio_start(struct sio_hdl *);  int sio_start(struct sio_hdl *);
 int sio_stop(struct sio_hdl *);  int sio_stop(struct sio_hdl *);
Line 148 
Line 148 
 int sio_setvol(struct sio_hdl *, unsigned);  int sio_setvol(struct sio_hdl *, unsigned);
 void sio_onvol(struct sio_hdl *, void (*)(void *, unsigned), void *);  void sio_onvol(struct sio_hdl *, void (*)(void *, unsigned), void *);
   
 struct mio_hdl *mio_open(char *, unsigned, int);  struct mio_hdl *mio_open(const char *, unsigned, int);
 void mio_close(struct mio_hdl *);  void mio_close(struct mio_hdl *);
 size_t mio_write(struct mio_hdl *, void *, size_t);  size_t mio_write(struct mio_hdl *, const void *, size_t);
 size_t mio_read(struct mio_hdl *, void *, size_t);  size_t mio_read(struct mio_hdl *, void *, size_t);
 int mio_nfds(struct mio_hdl *);  int mio_nfds(struct mio_hdl *);
 int mio_pollfd(struct mio_hdl *, struct pollfd *, int);  int mio_pollfd(struct mio_hdl *, struct pollfd *, int);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3