adf_util.h
上传用户:hy_wanghao
上传日期:2007-01-08
资源大小:279k
文件大小:1k
- #ifndef _ADF_UTIL_H
- #define _ADF_UTIL_H 1
- /*
- * ADF Library. (C) 1997-1999 Laurent Clevy
- *
- * adf_util.h
- *
- */
- #include"prefix.h"
- #include "adf_str.h"
- void swLong(unsigned char* buf, unsigned long val);
- void swShort(unsigned char* buf, unsigned short val);
- PREFIX struct List* newCell(struct List* list, void* content);
- PREFIX void freeList(struct List* list);
- void adfDays2Date(long days, int *yy, int *mm, int *dd);
- BOOL adfIsLeap(int y);
- void
- adfTime2AmigaTime(struct DateTime dt, long *day, long *min, long *ticks );
- struct DateTime
- adfGiveCurrentTime( void );
- void dumpBlock(unsigned char *buf);
- /*##########################################################################*/
- #endif /* _ADF_UTIL_H */