Changeset 415 for WizardsToolkit/trunk

Show
Ignore:
Timestamp:
10/19/09 09:02:57 (5 weeks ago)
Author:
cristy
Message:
 
Location:
WizardsToolkit/trunk/wizard
Files:
10 modified

Legend:

Unmodified
Added
Removed
  • WizardsToolkit/trunk/wizard/log.c

    r411 r415  
    231231%                                                                             % 
    232232%                                                                             % 
    233 +   D e s t r o y L o g F a c i l i t y                                       % 
    234 %                                                                             % 
    235 %                                                                             % 
    236 %                                                                             % 
    237 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
    238 % 
    239 %  DestroyLogFacility() destroys the log facility. 
    240 % 
    241 %  The format of the DestroyLogFacility method is: 
    242 % 
    243 %      DestroyLogFacility(void) 
     233+   D e s t r o y L o g C o m p o n e n t                                     % 
     234%                                                                             % 
     235%                                                                             % 
     236%                                                                             % 
     237%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     238% 
     239%  DestroyLogComponent() destroys the log component. 
     240% 
     241%  The format of the DestroyLogComponent method is: 
     242% 
     243%      DestroyLogComponent(void) 
    244244% 
    245245*/ 
     
    270270} 
    271271 
    272 WizardExport void DestroyLogFacility(void) 
     272WizardExport void DestroyLogComponent(void) 
    273273{ 
    274274  AcquireSemaphoreInfo(&log_semaphore); 
     
    595595%                                                                             % 
    596596%                                                                             % 
    597 +   I n s t a n t i a t e L o g F a c i l i t y                               % 
    598 %                                                                             % 
    599 %                                                                             % 
    600 %                                                                             % 
    601 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
    602 % 
    603 %  InstantiateLogFacility() instantiates the log facility. 
    604 % 
    605 %  The format of the InstantiateLogFacility method is: 
    606 % 
    607 %      WizardBooleanType InstantiateLogFacility(void) 
    608 % 
    609 */ 
    610 WizardExport WizardBooleanType InstantiateLogFacility(void) 
     597+   I n s t a n t i a t e L o g C o m p o n e n t                             % 
     598%                                                                             % 
     599%                                                                             % 
     600%                                                                             % 
     601%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     602% 
     603%  InstantiateLogComponent() instantiates the log component. 
     604% 
     605%  The format of the InstantiateLogComponent method is: 
     606% 
     607%      WizardBooleanType InstantiateLogComponent(void) 
     608% 
     609*/ 
     610WizardExport WizardBooleanType InstantiateLogComponent(void) 
    611611{ 
    612612  AcquireSemaphoreInfo(&log_semaphore); 
  • WizardsToolkit/trunk/wizard/log.h

    r411 r415  
    6868 
    6969extern WizardExport WizardBooleanType 
    70   InstantiateLogFacility(void), 
     70  InstantiateLogComponent(void), 
    7171  IsEventLogging(void), 
    7272  ListLogInfo(FILE *,ExceptionInfo *), 
     
    8080extern WizardExport void 
    8181  CloseWizardLog(void), 
    82   DestroyLogFacility(void), 
     82  DestroyLogComponent(void), 
    8383  SetLogFormat(const char *), 
    8484  SetLogPreamble(const char *); 
  • WizardsToolkit/trunk/wizard/mime.c

    r411 r415  
    132132%                                                                             % 
    133133%                                                                             % 
    134 +   D e s t r o y M i m e F a c i l i t y                                     % 
    135 %                                                                             % 
    136 %                                                                             % 
    137 %                                                                             % 
    138 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
    139 % 
    140 %  DestroyMimeFacility() destroys the mime facility. 
    141 % 
    142 %  The format of the DestroyMimeFacility method is: 
    143 % 
    144 %      DestroyMimeFacility(void) 
     134+   D e s t r o y M i m e C o m p o n e n t                                   % 
     135%                                                                             % 
     136%                                                                             % 
     137%                                                                             % 
     138%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     139% 
     140%  DestroyMimeComponent() destroys the mime component. 
     141% 
     142%  The format of the DestroyMimeComponent method is: 
     143% 
     144%      DestroyMimeComponent(void) 
    145145% 
    146146*/ 
     
    166166} 
    167167 
    168 WizardExport void DestroyMimeFacility(void) 
     168WizardExport void DestroyMimeComponent(void) 
    169169{ 
    170170  AcquireSemaphoreInfo(&mime_semaphore); 
     
    671671%                                                                             % 
    672672%                                                                             % 
    673 +   I n s t a n t i a t e M i m e F a c i l i t y                             % 
    674 %                                                                             % 
    675 %                                                                             % 
    676 %                                                                             % 
    677 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
    678 % 
    679 %  InstantiateMimeFacility() instantiates the mime facility. 
    680 % 
    681 %  The format of the InstantiateMimeFacility method is: 
    682 % 
    683 %      WizardBooleanType InstantiateMimeFacility(void) 
    684 % 
    685 */ 
    686 WizardExport WizardBooleanType InstantiateMimeFacility(void) 
     673+   I n s t a n t i a t e M i m e C o m p o n e n t                           % 
     674%                                                                             % 
     675%                                                                             % 
     676%                                                                             % 
     677%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     678% 
     679%  InstantiateMimeComponent() instantiates the mime component. 
     680% 
     681%  The format of the InstantiateMimeComponent method is: 
     682% 
     683%      WizardBooleanType InstantiateMimeComponent(void) 
     684% 
     685*/ 
     686WizardExport WizardBooleanType InstantiateMimeComponent(void) 
    687687{ 
    688688  AcquireSemaphoreInfo(&mime_semaphore); 
  • WizardsToolkit/trunk/wizard/mime.h

    r411 r415  
    3535 
    3636extern WizardExport WizardBooleanType 
    37   InstantiateMimeFacility(void), 
     37  InstantiateMimeComponent(void), 
    3838  ListMimeInfo(FILE *,ExceptionInfo *), 
    3939  LoadMimeLists(const char *,ExceptionInfo *); 
     
    4444 
    4545extern WizardExport void 
    46   DestroyMimeFacility(void); 
     46  DestroyMimeComponent(void); 
    4747 
    4848#if defined(__cplusplus) || defined(c_plusplus) 
  • WizardsToolkit/trunk/wizard/nt-base.c

    r411 r415  
    330330static BOOL ControlHandler(DWORD type) 
    331331{ 
    332   AsynchronousDestroyResourceFacility(); 
     332  AsynchronousDestroyResourceComponent(); 
    333333  return(FALSE); 
    334334} 
  • WizardsToolkit/trunk/wizard/random.c

    r411 r415  
    306306%                                                                             % 
    307307%                                                                             % 
    308 +   D e s t r o y R a n d o m F a c i l i t y                                 % 
    309 %                                                                             % 
    310 %                                                                             % 
    311 %                                                                             % 
    312 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
    313 % 
    314 %  DestroyRandomFacility() destroys the random facility. 
    315 % 
    316 %  The format of the DestroyRandomFacility method is: 
    317 % 
    318 %      DestroyRandomFacility(void) 
    319 % 
    320 */ 
    321 WizardExport void DestroyRandomFacility(void) 
     308+   D e s t r o y R a n d o m C o m p o n e n t                               % 
     309%                                                                             % 
     310%                                                                             % 
     311%                                                                             % 
     312%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     313% 
     314%  DestroyRandomComponent() destroys the random component. 
     315% 
     316%  The format of the DestroyRandomComponent method is: 
     317% 
     318%      DestroyRandomComponent(void) 
     319% 
     320*/ 
     321WizardExport void DestroyRandomComponent(void) 
    322322{ 
    323323  AcquireSemaphoreInfo(&random_semaphore); 
     
    775775%                                                                             % 
    776776%                                                                             % 
    777 +   I n s t a n t i a t e R a n d o m F a c i l i t y                         % 
    778 %                                                                             % 
    779 %                                                                             % 
    780 %                                                                             % 
    781 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
    782 % 
    783 %  InstantiateRandomFacility() instantiates the random facility. 
    784 % 
    785 %  The format of the InstantiateRandomFacility method is: 
    786 % 
    787 %      InstantiateRandomFacility(void) 
    788 % 
    789 */ 
    790 WizardExport WizardBooleanType InstantiateRandomFacility(void) 
     777+   I n s t a n t i a t e R a n d o m C o m p o n e n t                       % 
     778%                                                                             % 
     779%                                                                             % 
     780%                                                                             % 
     781%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     782% 
     783%  InstantiateRandomComponent() instantiates the random component. 
     784% 
     785%  The format of the InstantiateRandomComponent method is: 
     786% 
     787%      InstantiateRandomComponent(void) 
     788% 
     789*/ 
     790WizardExport WizardBooleanType InstantiateRandomComponent(void) 
    791791{ 
    792792  AcquireSemaphoreInfo(&random_semaphore); 
  • WizardsToolkit/trunk/wizard/random_.h

    r411 r415  
    4646 
    4747extern WizardExport void 
    48   DestroyRandomFacility(void), 
     48  DestroyRandomComponent(void), 
    4949  SeedPseudoRandomGenerator(const unsigned long), 
    5050  SetRandomKey(RandomInfo *,const size_t,unsigned char *), 
     
    5252 
    5353extern WizardExport WizardBooleanType 
    54   InstantiateRandomFacility(void); 
     54  InstantiateRandomComponent(void); 
    5555 
    5656#if defined(__cplusplus) || defined(c_plusplus) 
  • WizardsToolkit/trunk/wizard/resource.c

    r411 r415  
    449449%                                                                             % 
    450450%                                                                             % 
    451 +   A s y n c h r o n o u s D e s t r o y R e s o u r c e F a c i l i t y     % 
    452 %                                                                             % 
    453 %                                                                             % 
    454 %                                                                             % 
    455 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
    456 % 
    457 %  AsynchronousDestroyResourceFacility() destroys the resource environment. 
    458 %  It differs from DestroyResourceFacility() in that it can be called from a 
     451+   A s y n c h r o n o u s D e s t r o y R e s o u r c e C o m p o n e n t   % 
     452%                                                                             % 
     453%                                                                             % 
     454%                                                                             % 
     455%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     456% 
     457%  AsynchronousDestroyResourceComponent() destroys the resource environment. 
     458%  It differs from DestroyResourceComponent() in that it can be called from a 
    459459%  asynchronous signal handler. 
    460460% 
    461 %  The format of the DestroyResourceFacility() method is: 
    462 % 
    463 %      DestroyResourceFacility(void) 
    464 % 
    465 */ 
    466 WizardExport void AsynchronousDestroyResourceFacility(void) 
     461%  The format of the DestroyResourceComponent() method is: 
     462% 
     463%      DestroyResourceComponent(void) 
     464% 
     465*/ 
     466WizardExport void AsynchronousDestroyResourceComponent(void) 
    467467{ 
    468468  const char 
     
    490490%                                                                             % 
    491491%                                                                             % 
    492 +   D e s t r o y R e s o u r c e F a c i l i t y                             % 
    493 %                                                                             % 
    494 %                                                                             % 
    495 %                                                                             % 
    496 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
    497 % 
    498 %  DestroyResourceFacility() destroys the resource facility. 
    499 % 
    500 %  The format of the DestroyResourceFacility() method is: 
    501 % 
    502 %      DestroyResourceFacility(void) 
    503 % 
    504 */ 
    505 WizardExport void DestroyResourceFacility(void) 
     492+   D e s t r o y R e s o u r c e C o m p o n e n t                           % 
     493%                                                                             % 
     494%                                                                             % 
     495%                                                                             % 
     496%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     497% 
     498%  DestroyResourceComponent() destroys the resource component. 
     499% 
     500%  The format of the DestroyResourceComponent() method is: 
     501% 
     502%      DestroyResourceComponent(void) 
     503% 
     504*/ 
     505WizardExport void DestroyResourceComponent(void) 
    506506{ 
    507507  AcquireSemaphoreInfo(&resource_semaphore); 
     
    643643%                                                                             % 
    644644%                                                                             % 
    645 +   I n s t a n t i a t e R e s o u r c e F a c i l i t y                     % 
    646 %                                                                             % 
    647 %                                                                             % 
    648 %                                                                             % 
    649 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
    650 % 
    651 %  InstantiateResourceFacility() instantiates the resource facility. 
    652 % 
    653 %  The format of the InstantiateResourceFacility method is: 
    654 % 
    655 %      WizardBooleanType InstantiateResourceFacility(void) 
     645+   I n s t a n t i a t e R e s o u r c e C o m p o n e n t                   % 
     646%                                                                             % 
     647%                                                                             % 
     648%                                                                             % 
     649%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     650% 
     651%  InstantiateResourceComponent() instantiates the resource component. 
     652% 
     653%  The format of the InstantiateResourceComponent method is: 
     654% 
     655%      WizardBooleanType InstantiateResourceComponent(void) 
    656656% 
    657657*/ 
     
    664664} 
    665665 
    666 WizardExport WizardBooleanType InstantiateResourceFacility(void) 
     666WizardExport WizardBooleanType InstantiateResourceComponent(void) 
    667667{ 
    668668  char 
  • WizardsToolkit/trunk/wizard/resource_.h

    r411 r415  
    4545  AcquireWizardResource(const ResourceType,const WizardSizeType), 
    4646  AcquireUniqueFilename(char *,ExceptionInfo *), 
    47   InstantiateResourceFacility(void), 
     47  InstantiateResourceComponent(void), 
    4848  ListWizardResourceInfo(FILE *,ExceptionInfo *), 
    4949  RelinquishUniqueFileResource(const char *,const WizardBooleanType), 
     
    5454 
    5555extern WizardExport void 
    56   AsynchronousDestroyResourceFacility(void), 
    57   DestroyResourceFacility(void), 
     56  AsynchronousDestroyResourceComponent(void), 
     57  DestroyResourceComponent(void), 
    5858  RelinquishWizardResource(const ResourceType,const WizardSizeType); 
    5959 
  • WizardsToolkit/trunk/wizard/wizard.c

    r411 r415  
    153153  (void) signal(signal_number,SIG_IGN); 
    154154#endif 
    155   AsynchronousDestroyResourceFacility(); 
     155  AsynchronousDestroyResourceComponent(); 
    156156  instantiate_wizard=WizardFalse; 
    157157  (void) SetWizardSignalHandler(signal_number,signal_handlers[signal_number]); 
     
    216216  seconds=time((time_t *) NULL); 
    217217  (void) InstantiateSemaphore(); 
    218   (void) InstantiateLogFacility(); 
    219   (void) InstantiateRandomFacility(); 
     218  (void) InstantiateLogComponent(); 
     219  (void) InstantiateRandomComponent(); 
    220220  events=GetEnvironmentValue("WIZARD_DEBUG"); 
    221221  if (events != (char *) NULL) 
     
    294294    Initialize wizard resources. 
    295295  */ 
    296   (void) InstantiateResourceFacility(); 
    297   (void) InstantiateMimeFacility(); 
     296  (void) InstantiateResourceComponent(); 
     297  (void) InstantiateMimeComponent(); 
    298298} 
    299299 
     
    319319WizardExport void WizardsToolkitTerminus(void) 
    320320{ 
    321   DestroyMimeFacility(); 
    322   DestroyResourceFacility(); 
    323   DestroyRandomFacility(); 
    324   DestroyLogFacility(); 
    325 } 
     321  DestroyMimeComponent(); 
     322  DestroyResourceComponent(); 
     323  DestroyRandomComponent(); 
     324  DestroyLogComponent(); 
     325}