]> arthur.barton.de Git - netatalk.git/blob - bin/megatron/nad.h
megatron, fix errors introduced in Sun Feb 6 10:16:00 2005 commit, 'replace a wrong...
[netatalk.git] / bin / megatron / nad.h
1 /*
2  * $Id: nad.h,v 1.5 2010-01-27 21:27:53 didg Exp $
3  */
4
5 #ifndef _NAD_H
6 #define _NAD_H 1
7
8 /* Forward Declarations */
9 struct FHeader;
10
11 int nad_open(char *path, int openflags, struct FHeader *fh, int options);
12 int nad_header_read(struct FHeader *fh);
13 int nad_header_write(struct FHeader *fh);
14 ssize_t nad_read(int fork, char *forkbuf, size_t bufc);
15 ssize_t nad_write(int fork, char *forkbuf, size_t bufc);
16 int nad_close(int status);
17
18 void select_charset(int options);
19
20 #endif /* _NAD_H */