summaryrefslogtreecommitdiff
path: root/comm/IrdaAddress.h
diff options
context:
space:
mode:
authorsc2000-11-28 17:07:47 +0000
committersc2000-11-28 17:07:47 +0000
commitee937667fd0ecd82faab4c88d756b906fb625f1a (patch)
tree19e679318b5cb87e8be1a05a7bbc9ba5568d0814 /comm/IrdaAddress.h
parent1326b11d65f7020f5f6c691305d2c090b064bd04 (diff)
downloadivy-league-ee937667fd0ecd82faab4c88d756b906fb625f1a.zip
ivy-league-ee937667fd0ecd82faab4c88d756b906fb625f1a.tar.gz
ivy-league-ee937667fd0ecd82faab4c88d756b906fb625f1a.tar.bz2
ivy-league-ee937667fd0ecd82faab4c88d756b906fb625f1a.tar.xz
Integration into IvyLeague
Uvh -> Ivl Multiplexer.* is renamed into Scheduler.* A few name conflicts in the merger with ex-DNN have been solved Imakefile is replaced by Makefile Created InetAddress.* and UnixAddress.* from Address.* Created IrdaAddress.* OLD/TextStream has been updated
Diffstat (limited to 'comm/IrdaAddress.h')
-rw-r--r--comm/IrdaAddress.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/comm/IrdaAddress.h b/comm/IrdaAddress.h
new file mode 100644
index 0000000..c73b9f1
--- /dev/null
+++ b/comm/IrdaAddress.h
@@ -0,0 +1,38 @@
+/*
+ * The Unix Channel
+ *
+ * by Michel Beaudouin-Lafon
+ *
+ * Copyright 1990-1997
+ * Laboratoire de Recherche en Informatique (LRI)
+ *
+ * IRDA Addresses,
+ * by Stephane Chatty
+ *
+ * $Id$
+ * $CurLog$
+ */
+
+#ifndef IrdaAddress_H_
+#define IrdaAddress_H_
+
+#include "cplus_bugs.h"
+#include "Address.h"
+#include "ivl/String.h"
+
+class IvlIrdaAddress : public IvlAddress {
+protected:
+ IvlString Service;
+ struct sockaddr_irda Addr;
+
+public:
+ IvlIrdaAddress (const char* = 0); // service
+ ~IvlIrdaAddress ();
+
+ int Family ();
+ int Length ();
+ SockAddr* GetSockAddr ();
+ char* StrRepr (char* buf = 0);
+};
+
+#endif /* IrdaAddress_H_ */