The function of our program is to send out invites and store the replys Invites are sent out via email with a link to a web form. // Structure for person --------------------------------- typedef struct { int ID //A unique identifier char *name; //Name of invitee int age; //Age of invitee (for period music selection) long dateOfBirth //DoB of invitee (so you know when to expect party invite from them). Format= days from January 1st 1900 char *email //email address of inviteee boolean delayedArrival //True if invitee is not attending the meal but is attending disco int mealPreference //corresponds to a meal, assign a binary multiple to each choice char** musicPref //2 dimensional array of chars, to store multiple music requests } person;// --------------------------------------------- // Structure for invite --------------------------------- typedef struct { int ID //A unique identifier int[] personID; //Details of persons invited boolean inviteSent; //True if invite has been sent boolean replyReceived; //True if reply has been received boolean requiresRoom; //True if staying the night (friend is wealthy, she can afford it!) } invite;// --------------------------------------------- int SendMultiInvite(*char email, *char firstName, *char lastName, *char firstName, *char lastName, ...) /*Inputs: email, and name(s) of guests*/ /*Outputs: an emailed invitation with a link to the webform*/ /*Comments: Creates an invite with up to six guests on it. Each one is given their own record in the databse, but only 1 email is sent with links to rsvp forms for each guest. Returns a success flag*/ int UpdateDatabase(webform data) /*Inputs: data entered onto the webform by the guest*/ /*Outputs: populated record for the guest, success flag*/ /*Comments: takes input from the webform and updates the database*/ int GuestStatus(int guestID) /*Outputs all the information currently held on the guest specified by guestID*/ int sendEmailReminder(invite *invitess, int Pointer); /* */ /* Inputs: a pointer to array of invites, Pointer is the value of the last address in the array of addresses */ /* Outputs: Success Flag */ /* Comments: Goes through all the guests that are attending and sends them a reminder email */ int checkDate(date); /* Inputs: the date of the day before the party */ /* Outputs: Success Flag */ /* Comments: If function finds that the current date (from system time) is same as inputted day, then calls sendEmailReminder */