[BACK]Return to mntopts.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / include

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/include/mntopts.h between version 1.2 and 1.10

version 1.2, 2003/04/11 17:36:57 version 1.10, 2006/10/31 08:12:46
Line 12 
Line 12 
  * 2. Redistributions in binary form must reproduce the above copyright   * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in the   *    notice, this list of conditions and the following disclaimer in the
  *    documentation and/or other materials provided with the distribution.   *    documentation and/or other materials provided with the distribution.
  * 3. All advertising materials mentioning features or use of this software   * 3. Neither the name of the University nor the names of its contributors
  *    must display the following acknowledgement:  
  *      This product includes software developed by the University of  
  *      California, Berkeley and its contributors.  
  * 4. Neither the name of the University nor the names of its contributors  
  *    may be used to endorse or promote products derived from this software   *    may be used to endorse or promote products derived from this software
  *    without specific prior written permission.   *    without specific prior written permission.
  *   *
Line 62  struct mntopt {
Line 58  struct mntopt {
 #define MOPT_IGNORE             { "hidden",     0, MNT_IGNORE, 0 }  #define MOPT_IGNORE             { "hidden",     0, MNT_IGNORE, 0 }
   
 /* Control flags. */  /* Control flags. */
 #define MOPT_FORCE              { "force",      1, MNT_FORCE, 0 }  #define MOPT_FORCE              { "force",      0, MNT_FORCE, 0 }
 #define MOPT_UPDATE             { "update",     0, MNT_UPDATE, 0 }  #define MOPT_UPDATE             { "update",     0, MNT_UPDATE, 0 }
 #define MOPT_RELOAD             { "reload",     0, MNT_RELOAD, 0 }  #define MOPT_RELOAD             { "reload",     0, MNT_RELOAD, 0 }
 #define MOPT_GETARGS            { "getargs",    0, MNT_GETARGS, 0 }  #define MOPT_GETARGS            { "getargs",    0, MNT_GETARGS, 0 }
Line 73  struct mntopt {
Line 69  struct mntopt {
   
 /* This is parsed by mount(8), but is ignored by specific mount_*(8)s. */  /* This is parsed by mount(8), but is ignored by specific mount_*(8)s. */
 #define MOPT_AUTO               { "auto",       0, 0, 0 }  #define MOPT_AUTO               { "auto",       0, 0, 0 }
   #define MOPT_NULL               { NULL,         0, 0, 0 }
   
 #define MOPT_FSTAB_COMPAT                                               \  #define MOPT_FSTAB_COMPAT                                               \
         MOPT_RO,                                                        \          MOPT_RO,                                                        \
Line 95  struct mntopt {
Line 92  struct mntopt {
   
 __BEGIN_DECLS  __BEGIN_DECLS
 typedef struct mntoptparse *mntoptparse_t;  typedef struct mntoptparse *mntoptparse_t;
 mntoptparse_t getmntopts __P((const char *, const struct mntopt *, int *,  mntoptparse_t getmntopts(const char *, const struct mntopt *, int *, int *);
     int *));  const char *getmntoptstr(mntoptparse_t, const char *);
 const char *getmntoptstr __P((mntoptparse_t, const char *));  long getmntoptnum(mntoptparse_t, const char *);
 long getmntoptnum __P((mntoptparse_t, const char *));  void freemntopts(mntoptparse_t);
 void freemntopts __P((mntoptparse_t));  
   
 extern int getmnt_silent;  extern int getmnt_silent;
 __END_DECLS  __END_DECLS

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.10

CVSweb <webmaster@jp.NetBSD.org>