2 $Id: ad.h,v 1.1 2009-09-01 14:28:07 franklahm Exp $
4 Copyright (c) 2009 Frank Lahm <franklahm@gmail.com>
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
20 #include <atalk/volinfo.h>
22 #define STRCMP(a,b,c) (strcmp(a,c) b 0)
24 #define DIR_DOT_OR_DOTDOT(a) \
25 ((strcmp(a, ".") == 0) || (strcmp(a, "..") == 0))
28 struct volinfo volinfo;
31 // int adflags; /* file:0, dir:ADFLAGS_DIR */
35 extern int newvol(const char *path, afpvol_t *vol);
36 extern void freevol(afpvol_t *vol);
38 extern int ad_ls(int argc, char **argv);
39 extern int ad_cp(int argc, char **argv);