X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Fparse_opt.h;h=503720727f4bfa8b132c13d60d9117142114f230;hp=e132b1cd979961cb534608d5721cbf38fa21781a;hb=12544486ef2de86e4f2dfc920cd2860fb81658d1;hpb=0dcb83a870926de215307472676096056dabc9b0 diff --git a/utils/mount/parse_opt.h b/utils/mount/parse_opt.h index e132b1c..5037207 100644 --- a/utils/mount/parse_opt.h +++ b/utils/mount/parse_opt.h @@ -16,8 +16,8 @@ * * You should have received a copy of the GNU General Public * License along with this program; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 021110-1307, USA. + * Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 0211-1301 USA * */ @@ -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 *);