Changeset 4530:82135a5e57df in roaraudio


Ignore:
Timestamp:
10/18/10 17:27:41 (8 years ago)
Author:
phi
Branch:
default
Message:

some additional types for use with protocols like HTTP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/vio_ctl.h

    r3878 r4530  
    8181                                                                                        /* struct roar_vio_sysio_ioctl* */ 
    8282#define ROAR_VIO_CTL_FSTAT               (ROAR_VIO_CTL_GENERIC|ROAR_VIO_CTL_GET|0x0184) /* fstat() */ 
     83 
     84// more about network based protocols: 
     85#define ROAR_VIO_CTL_GET_MIMETYPE        (ROAR_VIO_CTL_GENERIC|ROAR_VIO_CTL_GET|0x0190) 
     86#define ROAR_VIO_CTL_SET_MIMETYPE        (ROAR_VIO_CTL_GENERIC|ROAR_VIO_CTL_SET|0x0190) 
     87#define ROAR_VIO_CTL_GET_USERPASS        (ROAR_VIO_CTL_GENERIC|ROAR_VIO_CTL_SET|0x0194) 
     88#define ROAR_VIO_CTL_SET_USERPASS        (ROAR_VIO_CTL_GENERIC|ROAR_VIO_CTL_SET|0x0194) 
    8389 
    8490// get or set data format used for read and write calls, see below 
     
    172178}; 
    173179 
     180// struct for userpass: 
     181struct roar_userpass { 
     182 int subtype; 
     183 char * user; 
     184 char * pass; 
     185}; 
     186 
    174187#endif 
    175188 
Note: See TracChangeset for help on using the changeset viewer.