1/**
2 * Copyright(C) 2000
3 * All Rights Reserved. Salih Yurttas, ZCubes, BitsOfCode Software Systems, Inc..
4 *
5 * Permission to use, copy, modify, and distribute this
6 * software and its documentation for EDUCATIONAL purposes
7 * and without fee is hereby granted provided that this
8 * copyright notice appears in all copies.
9 *
10 * @date : July 1, 2000.
11 * @author : Salih Yurttas.
12 */
13
14
15module PhoneBook00 {
16
17 struct PhoneBookEntry {
18 string name;
19 string phoneNumber;
20 };
21
22 typedef sequence<PhoneBookEntry> PhoneBookArray;
23
24 interface PhoneBook {
25 PhoneBookEntry lookUpName(in string number);
26 PhoneBookEntry lookUpNumber(in string name);
27 boolean insertEntry(in PhoneBookEntry entry);
28 boolean deleteEntry(in PhoneBookEntry entry);
29 PhoneBookArray list();
30 };
31
32};