+int XexAddInitAd (XexDesc* D, MemoryArea *InitMem, Import *InitAd)
+/* Sets and INITAD for the given memory area */
+{
+ XexInitAd* I;
+
+ /* Search for repeated entry */
+ if (XexSearchInitMem (D, InitMem))
+ return 1;
+
+ I = xmalloc (sizeof (XexInitAd));
+ I->InitAd = InitAd;
+ I->InitMem = InitMem;
+ I->next = D->InitAds;
+ D->InitAds = I;
+ return 0;
+}