1 #ifndef CLIB_MAGICBEACON_PROTOS_H 2 #define CLIB_MAGICBEACON_PROTOS_H 3 4 /***************************************************************************/ 5 6 /* 7 ** $VER: magicbeacon_protos.h 1.0 (25.10.2021) 8 ** 9 ** Copyright (C) 2021 Guido Mersmann <geit@gmx.de> 10 ** All rights reserved. 11 */ 12 13 /***************************************************************************/ 14 15 #ifndef EXEC_TYPES_H 16 #include <exec/types.h> 17 #endif 18 #ifndef UTILITY_TAGITEM_H 19 #include <utility/tagitem.h> 20 #endif 21 22 #ifdef __cplusplus 23 extern "C" { 24 #endif /* __cplusplus */ 25 26 /***************************************************************************/ 27 28 APTR MagicBeacon_ApplicationRegisterTagList(struct TagItem *tags); 29 #if !defined(USE_INLINE_STDARG) 30 APTR MagicBeacon_ApplicationRegisterTags(IPTR tag,...); 31 #endif 32 void MagicBeacon_ApplicationUnregister(APTR handle); 33 IPTR MagicBeacon_GetAttrsTagList(APTR handle,APTR beacon,struct TagItem *tags); 34 #if !defined(USE_INLINE_STDARG) 35 IPTR MagicBeacon_GetAttrsTags(APTR handle,APTR beacon,IPTR tag,...); 36 #endif 37 IPTR MagicBeacon_GetAttr(APTR handle,APTR beacon,IPTR tag); 38 IPTR MagicBeacon_BeaconSendTagList(APTR handle,struct TagItem *tags); 39 #if !defined(USE_INLINE_STDARG) 40 IPTR MagicBeacon_BeaconSendTags(APTR handle, IPTR tag,...); 41 #endif 42 APTR MagicBeacon_BeaconObtain(APTR handle); 43 void MagicBeacon_BeaconDispose(APTR handle,APTR beacon); 44 45 46 /***************************************************************************/ 47 48 #ifdef __cplusplus 49 } 50 #endif 51 52 #endif /* CLIB_MAGICBEACON_PROTOS_H */