mirror of
https://github.com/mabam/afpfs-ng-mac.git
synced 2025-01-18 04:34:22 +00:00
17 lines
395 B
C
17 lines
395 B
C
#ifndef _AFP_INTERNAL_H_
|
|
#define _AFP_INTERNAL_H_
|
|
|
|
#include "afpfs-ng/afp.h"
|
|
|
|
extern struct afp_versions afp_versions[];
|
|
|
|
/* From netatalk's adouble.h */
|
|
#define AD_DATE_DELTA 946684800
|
|
#define AD_DATE_FROM_UNIX(x) (htonl((x) - AD_DATE_DELTA))
|
|
#define AD_DATE_TO_UNIX(x) (ntohl(x) + AD_DATE_DELTA)
|
|
|
|
void add_file_by_name(struct afp_file_info ** base, const char *filename);
|
|
|
|
#endif
|
|
|