]> arthur.barton.de Git - netatalk.git/blobdiff - bin/megatron/nad.h
Move fullpathname() around in libatalk
[netatalk.git] / bin / megatron / nad.h
index 0e0332dfc99cf771bfe9c5e84cce8db50347cd45..9fa8568442fc8a9680f353cf568d8aba3404df3c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: nad.h,v 1.2 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $Id: nad.h,v 1.5 2010-01-27 21:27:53 didg Exp $
  */
 
 #ifndef _NAD_H
@@ -11,8 +11,10 @@ struct FHeader;
 int nad_open(char *path, int openflags, struct FHeader *fh, int options);
 int nad_header_read(struct FHeader *fh);
 int nad_header_write(struct FHeader *fh);
-int nad_read(int fork, char *forkbuf, int bufc);
-int nad_write(int fork, char *forkbuf, int bufc);
+ssize_t nad_read(int fork, char *forkbuf, size_t bufc);
+ssize_t nad_write(int fork, char *forkbuf, size_t bufc);
 int nad_close(int status);
 
+void select_charset(int options);
+
 #endif /* _NAD_H */