From 33613a85afc4b1481367fbe92a17ee59c240250b Mon Sep 17 00:00:00 2001 From: Sven Eisenhauer Date: Fri, 10 Nov 2023 15:11:48 +0100 Subject: add new repo --- Bachelor/Verteilte Systeme/Praktikum3/IPBook.idl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Bachelor/Verteilte Systeme/Praktikum3/IPBook.idl (limited to 'Bachelor/Verteilte Systeme/Praktikum3/IPBook.idl') 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 -- cgit v1.2.3