1 #ifndef	CLIB_QUERY_PROTOS_H
    2 #define	CLIB_QUERY_PROTOS_H
    3 
    4 #ifndef	EXEC_TYPES_H
    5 #  include <exec/types.h>
    6 #endif
    7 
    8 #ifndef LIBRARIES_QUERY_H
    9 # include <libraries/query.h>
   10 #endif
   11 
   12 struct TagItem;
   13 struct Library;
   14 struct Device;
   15 struct Resident;
   16 
   17 #ifdef __cplusplus
   18 extern "C" {
   19 #endif /* __cplusplus */
   20 
   21 void *QueryCreatePathNode(char *MyPath,char *MyPattern, ULONG Flags);
   22 void *QueryDeletePathNode(void *MyPathNode);
   23 void *QueryObtainTagList(void *MyQueryInfo, struct TagItem *Tags);
   24 void QueryRelease(void *MyQueryInfo);
   25 ULONG QueryGetAttr(void *MyQueryInfo,APTR Data, ULONG Attr);
   26 ULONG QueryGetLibraryAttr(struct Library *,APTR Data,ULONG Attr);
   27 ULONG QueryGetDeviceAttr(struct Device *,APTR	Data,ULONG Attr);
   28 ULONG QueryGetResidentAttr(struct Resident *,APTR Data,ULONG Attr);
   29 
   30 #if !defined(USE_INLINE_STDARG)
   31 void *QueryObtainTags(void *MyQueryInfo,...);
   32 #endif
   33 
   34 #ifdef __cplusplus
   35 }
   36 #endif /* __cplusplus */
   37 
   38 #endif /* CLIB_QUERY_PROTOS_H */