summaryrefslogtreecommitdiffabout
path: root/gammu/emb/common/device/irda/irda_w32.h
authorzautrix <zautrix>2004-08-07 17:24:40 (UTC)
committer zautrix <zautrix>2004-08-07 17:24:40 (UTC)
commit88b0d33b8b0b1f6ae320cfc863ca6a47fa8fec22 (patch) (unidiff)
tree6331418973714243beb674abc87692277b83869d /gammu/emb/common/device/irda/irda_w32.h
parentef8a09ce74ad3f0a51484d03fdf009bd5b3677bf (diff)
downloadkdepimpi-88b0d33b8b0b1f6ae320cfc863ca6a47fa8fec22.zip
kdepimpi-88b0d33b8b0b1f6ae320cfc863ca6a47fa8fec22.tar.gz
kdepimpi-88b0d33b8b0b1f6ae320cfc863ca6a47fa8fec22.tar.bz2
Initial revision
Diffstat (limited to 'gammu/emb/common/device/irda/irda_w32.h') (more/less context) (ignore whitespace changes)
-rw-r--r--gammu/emb/common/device/irda/irda_w32.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/gammu/emb/common/device/irda/irda_w32.h b/gammu/emb/common/device/irda/irda_w32.h
new file mode 100644
index 0000000..daffa37
--- a/dev/null
+++ b/gammu/emb/common/device/irda/irda_w32.h
@@ -0,0 +1,35 @@
1
2/* MS Platform SDK */
3
4#ifndef __irda_w32_h
5#define __irda_w32_h
6
7 #define AF_IRDA 26
8 #define SOL_IRLMP 0x00FF
9 #define IRLMP_ENUMDEVICES 0x00000010
10 #define IRLMP_9WIRE_MODE 0x00000016
11
12struct sockaddr_irda {
13 unsigned short irdaAddressFamily;
14 unsigned char irdaDeviceID[4];
15 char irdaServiceName[25];
16};
17
18struct irda_device_info {
19 unsigned char irdaDeviceID[4];
20 char irdaDeviceName[22];
21 unsigned char irdaDeviceHints1;
22 unsigned char irdaDeviceHints2;
23 unsigned char irdaCharSet;
24};
25
26struct irda_device_list {
27 ULONG numDevice;
28 struct irda_device_info Device[1];
29};
30
31#endif
32
33/* How should editor hadle tabs in this file? Add editor commands here.
34 * vim: noexpandtab sw=8 ts=8 sts=8:
35 */