summaryrefslogtreecommitdiffstats
path: root/Bachelor/Verteilte Systeme/Praktikum3/IPBook.idl
diff options
context:
space:
mode:
authorSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
committerSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
commit33613a85afc4b1481367fbe92a17ee59c240250b (patch)
tree670b842326116b376b505ec2263878912fca97e2 /Bachelor/Verteilte Systeme/Praktikum3/IPBook.idl
downloadStudium-master.tar.gz
Studium-master.tar.bz2
add new repoHEADmaster
Diffstat (limited to 'Bachelor/Verteilte Systeme/Praktikum3/IPBook.idl')
-rw-r--r--Bachelor/Verteilte Systeme/Praktikum3/IPBook.idl18
1 files changed, 18 insertions, 0 deletions
diff --git a/Bachelor/Verteilte Systeme/Praktikum3/IPBook.idl b/Bachelor/Verteilte Systeme/Praktikum3/IPBook.idl
new file mode 100644
index 0000000..efbc907
--- /dev/null
+++ b/Bachelor/Verteilte Systeme/Praktikum3/IPBook.idl
@@ -0,0 +1,18 @@
+#ifndef _IPBook_idl
+#define _IPBook_idl
+
+/**
+ * Interface for a very simple phone book
+ **/
+interface IPBook {
+ /* Add an entry */
+ void addEntry( in string name, in string number);
+
+ /* Search for an entry */
+ string searchEntry( in string name);
+
+ /* Count all entries */
+ long count( );
+};
+
+#endif