]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mount/parse_opt.h
mount.nfs: Assume v2/v3 if mount-related options are present
[nfs-utils.git] / utils / mount / parse_opt.h
index e132b1cd979961cb534608d5721cbf38fa21781a..2c0b5f4e5b3d1e597c92a563e7adcfb6b8dc9fee 100644 (file)
@@ -38,6 +38,7 @@ typedef enum {
 struct mount_options;
 
 struct mount_options * po_split(char *);
+struct mount_options * po_dup(struct mount_options *);
 void                   po_replace(struct mount_options *,
                                   struct mount_options *);
 po_return_t            po_join(struct mount_options *, char **);
@@ -47,7 +48,7 @@ po_found_t            po_contains(struct mount_options *, char *);
 char *                 po_get(struct mount_options *, char *);
 po_found_t             po_get_numeric(struct mount_options *,
                                        char *, long *);
-unsigned int           po_rightmost(struct mount_options *,
+int                    po_rightmost(struct mount_options *,
                                        const char *keys[]);
 po_found_t             po_remove_all(struct mount_options *, char *);
 void                   po_destroy(struct mount_options *);