1 /*
2  * $Id: uxspec.h,v 1.3 2003/07/15 16:35:18 andrew_belov Exp $
3  * ---------------------------------------------------------------------------
4  * Prototypes of the functions located in UXSPEC.C are declared here.
5  *
6  */
7 
8 #ifndef UXSPEC_INCLUDED
9 #define UXSPEC_INCLUDED
10 
11 #define UXSTATS_SHORT              0    /* Short statistics */
12 #define UXSTATS_LONG               1    /* Long statistics (for ARJ L) */
13 
14 /* set_uxspecial() return codes */
15 
16 #define UXSPEC_RC_ERROR            1    /* Misc. errors */
17 #define UXSPEC_RC_FOREIGN_OS       2    /* Reports structure mismatches */
18 #define UXSPEC_RC_NOLINK           3    /* Links not supported */
19 #define UXSPEC_RC_SUPPRESSED       4    /* Attribute suppressed */
20 
21 unsigned int get_uxspecial_size(char FAR *blk);
22 int query_uxspecial(char FAR **dest, char *name, struct file_properties *props);
23 int set_uxspecial(char FAR *storage, char *name);
24 void uxspecial_stats(char FAR *storage, int format);
25 unsigned int get_owner_size(char FAR *blk);
26 int query_owner(char FAR **dest, char *name, int how_to_resolve);
27 int set_owner(char FAR *storage, char *name, int resolve);
28 void owner_stats(char FAR *storage, int resolve);
29 
30 #if TARGET==UNIX
31 void set_dev_mode(int is_excl);
32 int add_dev(char *name);
33 int is_dev_allowed(dev_t dev);
34 #endif
35 
36 #endif
37 
38