2 * $Id: desktop.h,v 1.4 2005-04-28 20:49:41 bfernhomberg Exp $
4 * Copyright (c) 1990,1991 Regents of The University of Michigan.
7 * Permission to use, copy, modify, and distribute this software and
8 * its documentation for any purpose and without fee is hereby granted,
9 * provided that the above copyright notice appears in all copies and
10 * that both that copyright notice and this permission notice appear
11 * in supporting documentation, and that the name of The University
12 * of Michigan not be used in advertising or publicity pertaining to
13 * distribution of the software without specific, written prior
14 * permission. This software is supplied as is without expressed or
15 * implied warranties of any kind.
17 * Research Systems Unix Group
18 * The University of Michigan
20 * 535 W. William Street
23 * netatalk@itd.umich.edu
26 #ifndef AFPD_DESKTOP_H
27 #define AFPD_DESKTOP_H 1
29 #include <sys/cdefs.h>
34 u_char sdt_creator[ 4 ];
40 typedef unsigned char CreatorType[4];
42 extern char *dtfile __P((const struct vol *, u_char [], char *));
43 extern char *mtoupath __P((const struct vol *, char *, cnid_t, int utf8));
44 extern char *utompath __P((const struct vol *, char *, cnid_t, int utf8));
47 extern int afp_opendt __P((AFPObj *, char *, int, char *, int *));
48 extern int afp_addcomment __P((AFPObj *, char *, int, char *, int *));
49 extern int afp_getcomment __P((AFPObj *, char *, int, char *, int *));
50 extern int afp_rmvcomment __P((AFPObj *, char *, int, char *, int *));
51 extern int afp_addappl __P((AFPObj *, char *, int, char *, int *));
52 extern int afp_rmvappl __P((AFPObj *, char *, int, char *, int *));
53 extern int afp_getappl __P((AFPObj *, char *, int, char *, int *));
54 extern int afp_closedt __P((AFPObj *, char *, int, char *, int *));
55 extern int afp_addicon __P((AFPObj *, char *, int, char *, int *));
56 extern int afp_geticoninfo __P((AFPObj *, char *, int, char *, int *));
57 extern int afp_geticon __P((AFPObj *, char *, int, char *, int *));