module ListArray { interface Greetings { // ---------------------- Family ----------------- // A Family, defined by a family name and a list with // the fist names of the family members. typedef sequence TNameLst; struct Family { string strFamilyname; TNameLst strName; }; typedef sequence TFamilyLst; // -------------------- A Holiday ---------------- // Defined by the name of the Holiday // Holds a List of Families we want to // send greetings to. struct ReligiousHoliday { string strHolidayName; TFamilyLst lstFamilys; }; // --------- List of Holidays. ----------------- const long maxReligiousHolidays = 2; typedef ReligiousHoliday THolidayLst[maxReligiousHolidays]; // ----------- Operations ----------------------- void createGreetingsList( in THolidayLst arHolidayLst); TFamilyLst hello( in string strHolidayName); }; };