DOMAIN INTERFACE Clause Samples
DOMAIN INTERFACE. When the user creates a domain or alters/queries/deletes an existing domain, these interfaces are used. The data structure T_DOMAIN applies to Create, Query and Edit interfaces for a domain. The structure needs to be further extended for Create and Edit interfaces, but is suitable, without changes, for Domain Query interface. struct T_DOMAIN { struct T_PERL_INTF PerlIntf; // Name of the preson registering the domain. char szLastName[64]; char szFirstName[64]; char cMiddleInit; // Residential address char szResAddress[64]; char szResAddressTwo[64]; char szResCity[32]; char szResState[2]; char szResZip[12]; char szResPhone[32]; // Business Address char szBusName[64]; char szBusAddress[64]; char szBusAddressTwo[64]; char szBusCity[32]; char szBusState[2]; char szBusZip[12]; char szBusPhone[32]; char szEmail[64]; // Other details int nSex; int nAge; int nMarStatus; // Marital Status int nNumChild; // Number of Children int nAnIncome; // Annual Income int nInetFreq; // Frequency of accessing the internet. int nInetUse; // Internet utility. char szInetUse[64]; // Other Internet utility int nWhereHear; // Source of Information about CNM char szWhereHear[64]; // Other sources of information. }; All fields are filled on input for create and alter operations. The fields are filled for output in a Query operation. The values stored these variables have importance only for the Perl program and the Web pages. The complete provisioning module and other modules will merely treat this information as basic data types and treat them as such. No validations/checks will be carried out on demographic data at this side of the Perl/Provisioning interface.
