~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Wine Cross Reference
wine/include/af_irda.h

Version: ~ [ wine-1.1.33 ] ~ [ wine-1.1.32 ] ~ [ wine-1.1.31 ] ~ [ wine-1.1.30 ] ~ [ wine-1.1.29 ] ~ [ wine-1.1.28 ] ~ [ wine-1.1.27 ] ~ [ wine-1.1.26 ] ~ [ wine-1.1.25 ] ~ [ wine-1.1.24 ] ~ [ wine-1.1.23 ] ~ [ wine-1.1.22 ] ~ [ wine-1.1.21 ] ~ [ wine-1.1.20 ] ~ [ wine-1.1.19 ] ~ [ wine-1.1.18 ] ~ [ wine-1.1.17 ] ~ [ wine-1.1.16 ] ~ [ wine-1.1.15 ] ~ [ wine-1.1.14 ] ~ [ wine-1.1.13 ] ~ [ wine-1.1.12 ] ~ [ wine-1.1.11 ] ~ [ wine-1.1.10 ] ~ [ wine-1.1.9 ] ~ [ wine-1.1.8 ] ~ [ wine-1.1.7 ] ~ [ wine-1.0.1 ] ~ [ wine-1.1.6 ] ~ [ wine-1.1.5 ] ~ [ wine-1.1.4 ] ~ [ wine-1.1.3 ] ~ [ wine-1.1.2 ] ~ [ wine-1.1.1 ] ~ [ wine-1.1.0 ] ~ [ wine-1.0 ] ~

  1 /*
  2  * Copyright 2009 Juan Lang
  3  *
  4  * This library is free software; you can redistribute it and/or
  5  * modify it under the terms of the GNU Lesser General Public
  6  * License as published by the Free Software Foundation; either
  7  * version 2.1 of the License, or (at your option) any later version.
  8  *
  9  * This library is distributed in the hope that it will be useful,
 10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 12  * Lesser General Public License for more details.
 13  *
 14  * You should have received a copy of the GNU Lesser General Public
 15  * License along with this library; if not, write to the Free Software
 16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 17  */
 18 #ifndef AF_IRDA_H
 19 #define AF_IRDA_H
 20 
 21 typedef struct _IRDA_DEVICE_INFO
 22 {
 23     UCHAR irdaDeviceID[4];
 24     char  irdaDeviceName[22];
 25     UCHAR irdaDeviceHints1;
 26     UCHAR irdaDeviceHints2;
 27     UCHAR irdaCharSet;
 28 } IRDA_DEVICE_INFO, *PIRDA_DEVICE_INFO;
 29 
 30 typedef struct _DEVICELIST
 31 {
 32     ULONG            numDevice;
 33     IRDA_DEVICE_INFO Device[1];
 34 } DEVICELIST, *PDEVICELIST;
 35 
 36 typedef struct _SOCKADDR_IRDA
 37 {
 38     USHORT irdaAddressFamily;
 39     UCHAR  irdaDeviceID[4];
 40     char   irdaServiceName[25];
 41 } SOCKADDR_IRDA, *PSOCKADDR_IRDA, *LPSOCKADDR_IRDA;
 42 
 43 #ifdef USE_WS_PREFIX
 44 
 45 /* Socket levels and options */
 46 #define WS_SOL_IRLMP 0xff
 47 
 48 #define WS_IRLMP_ENUMDEVICES    ((ULONG)0x10)
 49 #define WS_IRLMP_IAS_SET        ((ULONG)0x11)
 50 #define WS_IRLMP_IAS_QUERY      ((ULONG)0x12)
 51 #define WS_IRLMP_SEND_PDU_LEN   ((ULONG)0x13)
 52 #define WS_IRLMP_EXCLUSIVE_MODE ((ULONG)0x14)
 53 #define WS_IRLMP_IRLPT_MODE     ((ULONG)0x15)
 54 #define WS_IRLMP_9WIRE_MODE     ((ULONG)0x16)
 55 #define WS_IRLMP_TINYTP_MODE    ((ULONG)0x17)
 56 #define WS_IRLMP_PARAMETERS     ((ULONG)0x18)
 57 #define WS_IRLMP_DISCOVER_MODE  ((ULONG)0x19)
 58 #define WS_IRLMP_SHARP_MODE     ((ULONG)0x20)
 59 
 60 #define WS_IAS_MAX_CLASSNAME    64
 61 #define WS_IAS_MAX_ATTRIBNAME   256
 62 
 63 #else
 64 
 65 /* Socket levels and options */
 66 #define SOL_IRLMP 0xff
 67 
 68 #define IRLMP_ENUMDEVICES    ((ULONG)0x10)
 69 #define IRLMP_IAS_SET        ((ULONG)0x11)
 70 #define IRLMP_IAS_QUERY      ((ULONG)0x12)
 71 #define IRLMP_SEND_PDU_LEN   ((ULONG)0x13)
 72 #define IRLMP_EXCLUSIVE_MODE ((ULONG)0x14)
 73 #define IRLMP_IRLPT_MODE     ((ULONG)0x15)
 74 #define IRLMP_9WIRE_MODE     ((ULONG)0x16)
 75 #define IRLMP_TINYTP_MODE    ((ULONG)0x17)
 76 #define IRLMP_PARAMETERS     ((ULONG)0x18)
 77 #define IRLMP_DISCOVER_MODE  ((ULONG)0x19)
 78 #define IRLMP_SHARP_MODE     ((ULONG)0x20)
 79 
 80 #define IAS_MAX_CLASSNAME    64
 81 #define IAS_MAX_ATTRIBNAME   256
 82 
 83 #endif
 84 
 85 #define IAS_MAX_OCTET_STRING 1024
 86 #define IAS_MAX_USER_STRING  256
 87 
 88 #define LmCharSetASCII      0x00
 89 #define LmCharSetISO_8859_1 0x01
 90 #define LmCharSetISO_8859_2 0x02
 91 #define LmCharSetISO_8859_3 0x03
 92 #define LmCharSetISO_8859_4 0x04
 93 #define LmCharSetISO_8859_5 0x05
 94 #define LmCharSetISO_8859_6 0x06
 95 #define LmCharSetISO_8859_7 0x07
 96 #define LmCharSetISO_8859_8 0x08
 97 #define LmCharSetISO_8859_9 0x09
 98 #define LmCharSetUNICODE    0xff
 99 
100 #endif /* AF_IRDA_H */
101 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.