From e5c4c042b9d476b75c86c3df6a1822e22bdb1535 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 26 Jun 1996 21:04:21 +0000 Subject: Initial revision --- libnetfs/runtime-argp.c | 23 +++++++++++++++++++++++ libnetfs/std-runtime-argp.c | 23 +++++++++++++++++++++++ libnetfs/std-startup-argp.c | 26 ++++++++++++++++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 libnetfs/runtime-argp.c create mode 100644 libnetfs/std-runtime-argp.c create mode 100644 libnetfs/std-startup-argp.c diff --git a/libnetfs/runtime-argp.c b/libnetfs/runtime-argp.c new file mode 100644 index 00000000..ae787fe2 --- /dev/null +++ b/libnetfs/runtime-argp.c @@ -0,0 +1,23 @@ +/* Default definition for netfs_runtime_argp + + Copyright (C) 1996 Free Software Foundation, Inc. + + This file is part of the GNU Hurd. + + The GNU Hurd is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2, or (at + your option) any later version. + + The GNU Hurd is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#include "netfs.h" + +struct argp *netfs_runtime_argp = (struct argp *)&netfs_std_runtime_argp; diff --git a/libnetfs/std-runtime-argp.c b/libnetfs/std-runtime-argp.c new file mode 100644 index 00000000..d8d4ba0a --- /dev/null +++ b/libnetfs/std-runtime-argp.c @@ -0,0 +1,23 @@ +/* Parse standard run-time options + + Copyright (C) 1995, 1996 Free Software Foundation, Inc. + + This file is part of the GNU Hurd. + + The GNU Hurd is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2, or (at + your option) any later version. + + The GNU Hurd is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#include "netfs.h" + +const struct argp netfs_std_runtime_argp = { 0 }; diff --git a/libnetfs/std-startup-argp.c b/libnetfs/std-startup-argp.c new file mode 100644 index 00000000..7fc4b024 --- /dev/null +++ b/libnetfs/std-startup-argp.c @@ -0,0 +1,26 @@ +/* Standard startup-time command line parser + + Copyright (C) 1995, 1996 Free Software Foundation, Inc. + + Written by Miles Bader + + This file is part of the GNU Hurd. + + The GNU Hurd is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2, or (at + your option) any later version. + + The GNU Hurd is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#include "netfs.h" + +const struct argp +netfs_std_startup_argp = { 0 }; -- cgit v1.2.3