]> arthur.barton.de Git - netatalk.git/blobdiff - include/atalk/volume.h
Add new Spotlight RPC functions
[netatalk.git] / include / atalk / volume.h
index b185f994c1e2a0f7b0175a1e28c32735a7e6fb70..c3ebd39b62c12633a06dca2c091110fa1ecaa4d3 100644 (file)
@@ -98,6 +98,7 @@ struct vol {
     int             v_preexec_close;
     char            *v_uuid;    /* For TimeMachine zeroconf record */
     int             v_qfd;
+    uint32_t        v_ignattr;  /* AFP attributes that shall be ignored */
 };
 
 /* load_volumes() flags */
@@ -117,6 +118,7 @@ struct vol {
   Keep in sync with libatalk/util/volinfo.c
 */
 #define AFPVOL_NOV2TOEACONV (1 << 5) /* no adouble:v2 to adouble:ea conversion */
+#define AFPVOL_SPOTLIGHT (1 << 6)   /* Index volume for Spotlight searches */
 #define AFPVOL_RO        (1 << 8)   /* read-only volume */
 #define AFPVOL_NOSTAT    (1 << 16)  /* advertise the volume even if we can't stat() it
                                      * maybe because it will be mounted later in preexec */