Use plain C version of CopyMem() for small copies (fewer than 4096 bytes).
[AROS.git] / tools / adflib / adf_util.h
blobd7a5337584e138a195825901e2163ca2f3d21b6c
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"prefix.h"
13 #include "adf_str.h"
16 void swLong(unsigned char* buf, unsigned long val);
17 void swShort(unsigned char* buf, unsigned short val);
19 PREFIX struct List* newCell(struct List* list, void* content);
20 PREFIX void freeList(struct List* list);
21 void adfDays2Date(long days, int *yy, int *mm, int *dd);
22 BOOL adfIsLeap(int y);
23 void
24 adfTime2AmigaTime(struct DateTime dt, long *day, long *min, long *ticks );
25 struct DateTime
26 adfGiveCurrentTime( void );
28 void dumpBlock(unsigned char *buf);
30 /*##########################################################################*/
31 #endif /* _ADF_UTIL_H */