Changeset 415 for WizardsToolkit/trunk
- Timestamp:
- 10/19/09 09:02:57 (5 weeks ago)
- Location:
- WizardsToolkit/trunk/wizard
- Files:
-
- 10 modified
Legend:
- Unmodified
- Added
- Removed
-
WizardsToolkit/trunk/wizard/log.c
r411 r415 231 231 % % 232 232 % % 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 % DestroyLog Facility() destroys the log facility.240 % 241 % The format of the DestroyLog Facilitymethod is:242 % 243 % DestroyLog Facility(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) 244 244 % 245 245 */ … … 270 270 } 271 271 272 WizardExport void DestroyLog Facility(void)272 WizardExport void DestroyLogComponent(void) 273 273 { 274 274 AcquireSemaphoreInfo(&log_semaphore); … … 595 595 % % 596 596 % % 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 % InstantiateLog Facility() instantiates the log facility.604 % 605 % The format of the InstantiateLog Facilitymethod is:606 % 607 % WizardBooleanType InstantiateLog Facility(void)608 % 609 */ 610 WizardExport WizardBooleanType InstantiateLog Facility(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 */ 610 WizardExport WizardBooleanType InstantiateLogComponent(void) 611 611 { 612 612 AcquireSemaphoreInfo(&log_semaphore); -
WizardsToolkit/trunk/wizard/log.h
r411 r415 68 68 69 69 extern WizardExport WizardBooleanType 70 InstantiateLog Facility(void),70 InstantiateLogComponent(void), 71 71 IsEventLogging(void), 72 72 ListLogInfo(FILE *,ExceptionInfo *), … … 80 80 extern WizardExport void 81 81 CloseWizardLog(void), 82 DestroyLog Facility(void),82 DestroyLogComponent(void), 83 83 SetLogFormat(const char *), 84 84 SetLogPreamble(const char *); -
WizardsToolkit/trunk/wizard/mime.c
r411 r415 132 132 % % 133 133 % % 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 % DestroyMime Facility() destroys the mime facility.141 % 142 % The format of the DestroyMime Facilitymethod is:143 % 144 % DestroyMime Facility(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) 145 145 % 146 146 */ … … 166 166 } 167 167 168 WizardExport void DestroyMime Facility(void)168 WizardExport void DestroyMimeComponent(void) 169 169 { 170 170 AcquireSemaphoreInfo(&mime_semaphore); … … 671 671 % % 672 672 % % 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 % InstantiateMime Facility() instantiates the mime facility.680 % 681 % The format of the InstantiateMime Facilitymethod is:682 % 683 % WizardBooleanType InstantiateMime Facility(void)684 % 685 */ 686 WizardExport WizardBooleanType InstantiateMime Facility(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 */ 686 WizardExport WizardBooleanType InstantiateMimeComponent(void) 687 687 { 688 688 AcquireSemaphoreInfo(&mime_semaphore); -
WizardsToolkit/trunk/wizard/mime.h
r411 r415 35 35 36 36 extern WizardExport WizardBooleanType 37 InstantiateMime Facility(void),37 InstantiateMimeComponent(void), 38 38 ListMimeInfo(FILE *,ExceptionInfo *), 39 39 LoadMimeLists(const char *,ExceptionInfo *); … … 44 44 45 45 extern WizardExport void 46 DestroyMime Facility(void);46 DestroyMimeComponent(void); 47 47 48 48 #if defined(__cplusplus) || defined(c_plusplus) -
WizardsToolkit/trunk/wizard/nt-base.c
r411 r415 330 330 static BOOL ControlHandler(DWORD type) 331 331 { 332 AsynchronousDestroyResource Facility();332 AsynchronousDestroyResourceComponent(); 333 333 return(FALSE); 334 334 } -
WizardsToolkit/trunk/wizard/random.c
r411 r415 306 306 % % 307 307 % % 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 % DestroyRandom Facility() destroys the random facility.315 % 316 % The format of the DestroyRandom Facilitymethod is:317 % 318 % DestroyRandom Facility(void)319 % 320 */ 321 WizardExport void DestroyRandom Facility(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 */ 321 WizardExport void DestroyRandomComponent(void) 322 322 { 323 323 AcquireSemaphoreInfo(&random_semaphore); … … 775 775 % % 776 776 % % 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 % InstantiateRandom Facility() instantiates the random facility.784 % 785 % The format of the InstantiateRandom Facilitymethod is:786 % 787 % InstantiateRandom Facility(void)788 % 789 */ 790 WizardExport WizardBooleanType InstantiateRandom Facility(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 */ 790 WizardExport WizardBooleanType InstantiateRandomComponent(void) 791 791 { 792 792 AcquireSemaphoreInfo(&random_semaphore); -
WizardsToolkit/trunk/wizard/random_.h
r411 r415 46 46 47 47 extern WizardExport void 48 DestroyRandom Facility(void),48 DestroyRandomComponent(void), 49 49 SeedPseudoRandomGenerator(const unsigned long), 50 50 SetRandomKey(RandomInfo *,const size_t,unsigned char *), … … 52 52 53 53 extern WizardExport WizardBooleanType 54 InstantiateRandom Facility(void);54 InstantiateRandomComponent(void); 55 55 56 56 #if defined(__cplusplus) || defined(c_plusplus) -
WizardsToolkit/trunk/wizard/resource.c
r411 r415 449 449 % % 450 450 % % 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 % AsynchronousDestroyResource Facility() destroys the resource environment.458 % It differs from DestroyResource Facility() in that it can be called from a451 + 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 459 459 % asynchronous signal handler. 460 460 % 461 % The format of the DestroyResource Facility() method is:462 % 463 % DestroyResource Facility(void)464 % 465 */ 466 WizardExport void AsynchronousDestroyResource Facility(void)461 % The format of the DestroyResourceComponent() method is: 462 % 463 % DestroyResourceComponent(void) 464 % 465 */ 466 WizardExport void AsynchronousDestroyResourceComponent(void) 467 467 { 468 468 const char … … 490 490 % % 491 491 % % 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 % DestroyResource Facility() destroys the resource facility.499 % 500 % The format of the DestroyResource Facility() method is:501 % 502 % DestroyResource Facility(void)503 % 504 */ 505 WizardExport void DestroyResource Facility(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 */ 505 WizardExport void DestroyResourceComponent(void) 506 506 { 507 507 AcquireSemaphoreInfo(&resource_semaphore); … … 643 643 % % 644 644 % % 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 % InstantiateResource Facility() instantiates the resource facility.652 % 653 % The format of the InstantiateResource Facilitymethod is:654 % 655 % WizardBooleanType InstantiateResource Facility(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) 656 656 % 657 657 */ … … 664 664 } 665 665 666 WizardExport WizardBooleanType InstantiateResource Facility(void)666 WizardExport WizardBooleanType InstantiateResourceComponent(void) 667 667 { 668 668 char -
WizardsToolkit/trunk/wizard/resource_.h
r411 r415 45 45 AcquireWizardResource(const ResourceType,const WizardSizeType), 46 46 AcquireUniqueFilename(char *,ExceptionInfo *), 47 InstantiateResource Facility(void),47 InstantiateResourceComponent(void), 48 48 ListWizardResourceInfo(FILE *,ExceptionInfo *), 49 49 RelinquishUniqueFileResource(const char *,const WizardBooleanType), … … 54 54 55 55 extern WizardExport void 56 AsynchronousDestroyResource Facility(void),57 DestroyResource Facility(void),56 AsynchronousDestroyResourceComponent(void), 57 DestroyResourceComponent(void), 58 58 RelinquishWizardResource(const ResourceType,const WizardSizeType); 59 59 -
WizardsToolkit/trunk/wizard/wizard.c
r411 r415 153 153 (void) signal(signal_number,SIG_IGN); 154 154 #endif 155 AsynchronousDestroyResource Facility();155 AsynchronousDestroyResourceComponent(); 156 156 instantiate_wizard=WizardFalse; 157 157 (void) SetWizardSignalHandler(signal_number,signal_handlers[signal_number]); … … 216 216 seconds=time((time_t *) NULL); 217 217 (void) InstantiateSemaphore(); 218 (void) InstantiateLog Facility();219 (void) InstantiateRandom Facility();218 (void) InstantiateLogComponent(); 219 (void) InstantiateRandomComponent(); 220 220 events=GetEnvironmentValue("WIZARD_DEBUG"); 221 221 if (events != (char *) NULL) … … 294 294 Initialize wizard resources. 295 295 */ 296 (void) InstantiateResource Facility();297 (void) InstantiateMime Facility();296 (void) InstantiateResourceComponent(); 297 (void) InstantiateMimeComponent(); 298 298 } 299 299 … … 319 319 WizardExport void WizardsToolkitTerminus(void) 320 320 { 321 DestroyMime Facility();322 DestroyResource Facility();323 DestroyRandom Facility();324 DestroyLog Facility();325 } 321 DestroyMimeComponent(); 322 DestroyResourceComponent(); 323 DestroyRandomComponent(); 324 DestroyLogComponent(); 325 }
