fix __AROS_SETVECADDR invocations.
[AROS.git] / tools / adflib / adf_util.h
blob0068f30ee15412a97c22120d52611af8a65dcca4
1 #ifndef _ADF_UTIL_H
2 #define _ADF_UTIL_H 1
4 /*
5 * ADF Library. (C) 1997-1999 Laurent Clevy
7 * adf_util.h
9 */
11 #include "adf_str.h"
14 void swLong(unsigned char* buf, ULONG val);
15 void swShort(unsigned char* buf, USHORT val);
17 PREFIX struct List* newCell(struct List* list, void* content);
18 PREFIX void freeList(struct List* list);
19 void adfDays2Date(ULONG days, int *yy, int *mm, int *dd);
20 BOOL adfIsLeap(int y);
21 void
22 adfTime2AmigaTime(struct DateTime dt, ULONG *day, ULONG *min, ULONG *ticks );
23 struct DateTime
24 adfGiveCurrentTime( void );
26 void dumpBlock(unsigned char *buf);
28 /*##########################################################################*/
29 #endif /* _ADF_UTIL_H */