Bus reset timeouts are now implemented with more coarse-grained sleeps
[tangerine.git] / rom / workbench / support.h
blobb02842364b86129148ae72d6b2cac04a4c8d5cd8
1 #ifndef __WORKBENCH_SUPPORT_H__
2 #define __WORKBENCH_SUPPORT_H__
4 /*
5 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
6 $Id$
8 Headers for the miscellanous support functions.
9 */
11 #include "workbench_intern.h"
13 /*** Prototypes ************************************************************/
14 VOID __AddHiddenDevice(STRPTR name, struct WorkbenchBase *WorkbenchBase);
15 VOID __RemoveHiddenDevice(STRPTR name, struct WorkbenchBase *WorkbenchBase);
16 STRPTR __AllocateNameFromLock(BPTR lock, struct WorkbenchBase *WorkbenchBase);
17 STRPTR __StrDup(CONST_STRPTR string, struct WorkbenchBase *WorkbenchBase);
18 BPTR __DuplicateSearchPath(BPTR list, struct WorkbenchBase *WorkbenchBase);
19 VOID __FreeSearchPath(BPTR list, struct WorkbenchBase *WorkbenchBase);
21 /*** Macros *****************************************************************/
22 #define AddHiddenDevice(name) (__AddHiddenDevice((name), WorkbenchBase))
23 #define RemoveHiddenDevice(name) (__RemoveHiddenDevice((name), WorkbenchBase))
24 #define AllocateNameFromLock(lock) (__AllocateNameFromLock((lock), WorkbenchBase))
25 #define StrDup(string) (__StrDup((string), WorkbenchBase))
26 #define DuplicateSearchPath(list) (__DuplicateSearchPath((list), WorkbenchBase))
27 #define FreeSearchPath(list) (__FreeSearchPath((list), WorkbenchBase))
29 #endif /* __WORKBENCH_SUPPORT_H__ */