1 #ifndef _ATALK_VOLINFO_H
2 #define _ATALK_VOLINFO_H 1
4 #include <atalk/unicode.h>
5 #include <atalk/volume.h>
7 /* volinfo for shell utilities */
8 #define VOLINFODIR ".AppleDesktop"
9 #define VOLINFOFILE ".volinfo"
12 const u_int32_t option;
27 charset_t v_volcharset;
29 charset_t v_maccharset;
30 int v_adouble; /* default adouble format */
33 char *(*ad_path)(const char *, int);
38 struct volinfo *allocvolinfo(char *path);
39 extern int loadvolinfo(char *path, struct volinfo *vol);
40 extern void retainvolinfo(struct volinfo *vol);
41 extern int closevolinfo(struct volinfo *vol);
42 extern int savevolinfo(const struct vol *vol, const char *Cnid_srv, const char *Cnid_port);
43 extern int vol_load_charsets(struct volinfo *vol);